cfreebuf opened a new issue #1331:
URL: https://github.com/apache/incubator-brpc/issues/1331


   咨询了解一下,因业务需求,需要做请求的串行处理(避免业务自己代码中对全局变量或类的数据成员并发读写造成的不一致),是否可通过启动多个brpc 
process,并且设置每个进程的bthread_concurrency=1和num_threads=1来满足需求?
   这种架构设计肯定会影响性能、qps,目前只是为了用户不用担心请求的并发执行造成的不易察觉的数据不一致或其它多线程编程问题。
   
   


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



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

Reply via email to