Skip to content

Conversation

@itzmeanjan
Copy link
Owner

What's new ?

Only one watcher go-routine was used previously running single kernel event loop, to which all accepted sockets were delegated to for their life-time. Now I'm experimenting with multiple watcher go-routines so that each can run its own kernel event loop, managing only a subset of all active sockets.

Accepted connection orchestration is currently done using fairly simple round robin technique. After collecting statistics of this version, I'll consider bringing in feedback loop in picture so that new connection listener go-routine can learn which watcher is doing how much work & make better, informed decision regarding where to delegate newly accepted connection to.

✌️

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.

2 participants