yichenluan commented on issue #1047: brpc 是否没法保证一个连接上的请求顺序处理?有参数可以控制吗? URL: https://github.com/apache/incubator-brpc/issues/1047#issuecomment-591343184 > ExecuteQueue per connection的方案我们测试过,qps上不去。在ParseMessage里,所有的CommandHandler就已经按序被调了,这个可以满足你需求么 想了一种方案,就是在 ParseMessage 时,每个 sock 的 context 维护一个 list,msg 放到 list 里,然后每次消息处理完的 done 里,将 msg pop 出来,放到线程池里,线程池的每个线程都是实际的 handler,请问有相应的 bthread pool 可以用吗
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
