beschulz / thrift_asio

Asynchronous client and server for apache thrift implemented via boost::asio
14 stars 5 forks source link

How is it better than using TEventServer? #1

Open maykov opened 8 years ago

maykov commented 8 years ago

I haven't looked at the code. I worked extensively with Thrift and know that it is implemented on top of libevent and supports async programming.

beschulz commented 8 years ago

I'm sure TEventServer is briliant. thrift_asio can do bidirectional communication over a single connection by employing some trickery. Also in my particular application I needed controll over when my handers are called to avoid unnecessary locking. If you don't have those requirements, I'm sure TEventServer will work just fine. (Or is it possible to do these things with TEventServer as well?)

best, Ben