摘要 |
Systems and methods for reducing the cost but increasing the performance caused in streaming data between a client and a server are described herein. Embodiments of the present invention relate to reducing the cost but increasing the performance by the traditional data streaming where two TCP connections, one for each direction of traffic is used. Further embodiments allow a server in communication with one or more clients using a RPC based communication protocol to bi-directional stream not on two TCP connections but a single TCP connection. In one embodiment, this is achieved by transmitting from the client to the server an initial handshake. if the server receives the handshake, then the client streams a request stream to the server and the server streams a response stream to the client simultaneously over the same single TCP connection establishing full-duplex streaming.
|