Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

is there any possibility for multiple thread mio eventloop? #167

Open
miaomiao1992 opened this issue Jan 7, 2024 · 1 comment
Open

is there any possibility for multiple thread mio eventloop? #167

miaomiao1992 opened this issue Jan 7, 2024 · 1 comment

Comments

@miaomiao1992
Copy link

one loop per thread maybe faster

@lemunozm
Copy link
Owner

lemunozm commented Jan 8, 2024

IIRC, mio does not support a "multithread concept" and should be added at a higher level, creating an executor to handle the threads (as tokio actually does over mio).

Instead of making a whole executor for message-io, I suppose the faster/safer way to achieve this is removing mio and using directly tokio under the hood. Although it would imply a big internal refactor for message-io

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

No branches or pull requests

2 participants