Use Apache Thrift for two-way communication?
问题 Is it possible to implement a two-way communication between client and server with Apache Thrift? Thus not only to be able to make RPC from client to server, but also the other way round? In my project I have the requirement that the server must also push some data to the client without being asked by the client before to do this. 回答1: There are two ways how to achieve this with Thrift. If both ends are more or less peers and you connect them through sockets or pipes, you simply set up a