Skip to content

Multi-watcher with round robin orchestrator#8

Open
itzmeanjan wants to merge 5 commits intomainfrom
develop
Open

Multi-watcher with round robin orchestrator#8
itzmeanjan wants to merge 5 commits intomainfrom
develop

Conversation

@itzmeanjan
Copy link
Copy Markdown
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.

1 participant