You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brpc.apache.org by GitBox <gi...@apache.org> on 2019/03/20 07:17:11 UTC

[GitHub] [incubator-brpc] jamesge edited a comment on issue #692: Add Mysql Protocol, only support text protocol now, not support trans…

jamesge edited a comment on issue #692: Add Mysql Protocol, only support text protocol now, not support trans…
URL: https://github.com/apache/incubator-brpc/pull/692#issuecomment-474713864
 
 
   这里的基本问题还是mysql中reply是怎么和command对上的, 如果有id,那就是通过correlation_id机制;如果是靠server端保证对一个command一定会回一个reply(类似redis),那就要设置正确的pipelined_count。一个workaround是限制一次query中只能包含一个command,pipelined_count就可以固定为1,要一个request带多个command,就调用多次query。

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org