wwbmmm commented on issue #2000:
URL: https://github.com/apache/brpc/issues/2000#issuecomment-1447879799

   > @wwbmmm 你好,我这里同样是 redis-benchmark 对比 brpc 与 redis 的性能,观察到 redis 的 qps 能达到 
9w,brpc-redis 只能达到 6w。brpc server 不是可以利用多线程的吗,为何会比不过 redis 呢?是因为 brpc-redis 
server 的实现是只有一个 bthread 在做 epoll_wait 吗?
   
   你是单个连接下的benchmark吗?单个连接下按照redis协议的要求是需要串行处理的,这种情况下多线程并没有优势,你试试用多个连接并行压测看看


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to