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

关于IO线程的数量,最佳建议是几个呢? #135

Open
qht1003077897 opened this issue Nov 15, 2022 · 2 comments
Open

关于IO线程的数量,最佳建议是几个呢? #135

qht1003077897 opened this issue Nov 15, 2022 · 2 comments

Comments

@qht1003077897
Copy link

No description provided.

@IronsDu
Copy link
Owner

IronsDu commented Nov 15, 2022

其实取决于整个系统的IO压力以及整个系统的主要瓶颈点在哪里。

比如,连接数和消息量不大,或者整个系统的计算压力在逻辑处理部分,那么IO线程就只需要一个就OK了。

@IronsDu
Copy link
Owner

IronsDu commented Nov 15, 2022

经验来看,两个线程通常就够了。

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