lbryio / lbryio/lbry-sdk

Connection Manager

Open
#1,971 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Epic
Dominant language
Python
Stars
7.2k
Forks
493
PR merge metrics
No merged PRs in 30d

Description

Currently blob download successes/failures are not tracked and there is no optimization based on download speed between stream downloads. There should be a connection manager to track these attributes, and to limit and balance the number of active connections. Additionally, this class should track the local connection status (disconnecting and reconnecting running servers with the connection going up/down) and provide timeouts (dht rpc, blob download, tcp connect) based on the quality and speed of the local connection.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the existing blob download, DHT RPC, and TCP connection entry points. Identify where download outcomes, active connections, local connection changes, and current timeout handling are represented. Done would require an agreed connection manager design covering balancing, status changes, and adaptive timeouts, but the issue does not name files or tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
distributed-systems, networking
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
18/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.