Would recommend using boost::asio for this. I was considering doing this myself at one point.
On Mon, May 7, 2018, 4:27 AM Jens Geyer <[email protected]> wrote: > Hi, > > sounds great to me, but there are some people around with way more C++ > knowledge than I have .. forwarding to dev mailing list > > Good idea, IMHO. Let's discuss this! > > JensG > > > Sent from mobile device, please ignore spelling mistakes. > ________________________________ > Von: 郑华斌 > Gesendet: 07.05.2018 05:15 > An: Jens Geyer > Betreff: Pure async thrift with boost asio > > Hi Jens, > > I'm considering implement a pure async rpc service in c++. In > current thrift implementation, server io is multiplexed properly, however, > in service handler, if I call a rpc out or send a redis request, I have to > wait responses synchronizely. If all network io would be async, it will be > fantastic. > > Do you think it make sense to do such a job? Any suggestions? >
