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


   **Is your feature request related to a problem? (你需要的功能是否与某个问题有关?)**
   
   The issue is somewhat similiar to 
https://github.com/apache/incubator-brpc/issues/1404 . Because mysql client may 
block the whole pthread, so some mysql SDK for bthread and channel is better. 
But currently it seems that client for MySQL is still WIP: 
https://github.com/apache/incubator-brpc/pull/722
   
   I wonder what's the best practice for using MySQL with brpc? Currently we 
create a bthread for IO, and waiting for it done or throw exceptions. But I 
think it may block too many pthread, and make the program hangs on MySQL IO.
   
   I find there is an third party MySQL client: 
https://github.com/apache/incubator-brpc/issues/1404 . Is using that a best 
practice now?
   
   **Describe the solution you'd like (描述你期望的解决方法)**
   
   Having an official MySQL client.
   
   **Describe alternatives you've considered (描述你想到的折衷方案)**
   
   Telling the user that what's the best practice for using MySQL client in 
brpc.
   
   
   **Additional context/screenshots (更多上下文/截图)**
   
   none
   
   


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