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

发送过多的请求到rpc server,server端会排队执行所有的请求吗 #46

Open
wangzheng0822 opened this issue Apr 10, 2017 · 3 comments

Comments

@wangzheng0822
Copy link

比如woker线程池只开了50个,处理速度又比较慢,当worker线程都在忙时,新进来的请求会放到线程池的排队队列里面吗?线程池的排队队列的大小可以设置吗?

@xiemalin
Copy link
Contributor

连接池可以设置, RpcServerOptions以下参数
/** The acceptor threads. */
private int acceptorThreads = 0; // acceptor threads. default use Netty default value

/** The work threads. */
private int workThreads = 0; // work threads. default use Netty default value

@wangzheng0822
Copy link
Author

连接池的工作线程可以设置,好像排队队列不能设置的

@xiemalin
Copy link
Contributor

排队目前不能设置

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