Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Drop or reject lightweight connections

Đang mở
#433 4 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
haskell
Lĩnh vực
distributed-systems

Hướng nghiên cứu

Bắt đầu bằng cách đọc issue liên quan haskell-distributed/distributed-process#434 và lần theo quá trình thiết lập lightweight-connection cùng control-code handshake hiện có. Xác định cách một peer có thể chấp nhận hoặc từ chối một kết nối mới mà không ngắt các kết nối hiện có, đồng thời đánh giá mối lo ngại về độ trễ. Được xem là hoàn thành khi hành vi được yêu cầu đã được đặc tả và triển khai, với coverage cho cả việc chấp nhận và từ chối.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

network-transport-tcp

This is similar to haskell-distributed/distributed-process#434 but instead of dropping a bundle of connections to a peer, I'd like to be able to drop or reject one lightweight connection. This could be useful in case, for instance, a node is under heavy load and would like to continue to accept data on existing connections (perhaps some more data is needed) but reject new connections until the load is lessened.

Seems to me this would require a handshake when setting up lightweight connections. Currently if there's already a heavyweight connection to a peer then one simply sends a control code and then the connection is judged to be up and running, no response is expected. To allow rejection of the connection, the connector would have to wait for a yes or no response from the peer. Maybe this extra latency is unacceptable?

Ngôn ngữ chính
Haskell
Star
753
Fork
101
Merge trung bình
1 ngày 3 giờ
Pull request đã merge (30 ngày)
4

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của haskell-distributed/distributed-process

Tất cả issue của haskell-distributed/distributed-process

Issue tương tự

Thêm issue về Haskell

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.