Skip to content

Prefer reuse of recently used uploader threads to improve connection reuse - #61

Open
UCIS wants to merge 2 commits into
cjdelisle:developfrom
pkt-world:fix-uploader-reuse
Open

Prefer reuse of recently used uploader threads to improve connection reuse#61
UCIS wants to merge 2 commits into
cjdelisle:developfrom
pkt-world:fix-uploader-reuse

Conversation

@UCIS

@UCIS UCIS commented Oct 15, 2023

Copy link
Copy Markdown
Contributor

Prefer reuse of recently used uploader threads over the semi-random selection that occurs with idle wait loop to improve connection reuse. For miners on a fast connection, this should reduce the number of idle keepalive connections, saving resources on the miner and pool. The configured number of uploaders will behave like an upper limit rather than an absolute number. An added bonus might be that the more aggressive reuse of connections could reduce the number of reconnections and slow-start situations because idle connections keep timing out.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant