8000 Implement flexible connection limit · Issue #13 · dominikh/gamayun · GitHub
[go: up one dir, main page]

Skip to content

Implement flexible connection limit #13

Open

Description

@dominikh

A static per-torrent peer limit is quite wasteful.

If we're happy to have 100 peers globally, and we have only one active torrent, then that torrent should be able to have 100 peers. Instead, have a global peer limit, a limit of active torrents, and dynamically adjust per-torrent limits, possibly disconnecting peers from busy torrents when new torrents become active.

The same algorithm probably works for incoming and outgoing connections.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0