HOME

TheInfoList



OR:

RSocket is an application protocol initially developed b
Netflix
that supports
Reactive Streams Reactive Streams is an initiative to provide a standard for asynchronous stream processing with non-blocking back pressure. __TOC__ Origin Reactive Streams started as an initiative in late 2013 between engineers at Netflix, Pivotal and Light ...
. The motivation behind its development was to replace hypertext transfer protocol (
HTTP The Hypertext Transfer Protocol (HTTP) is an application layer protocol in the Internet protocol suite model for distributed, collaborative, hypermedia information systems. HTTP is the foundation of data communication for the World Wide Web, ...
), which is inefficient for many tasks such as
microservices A microservice architecture – a variant of the service-oriented architecture structural style – is an architectural pattern that arranges an application as a collection of loosely-coupled, fine-grained services, communicating through ligh ...
communication, with a protocol that has less overhead.


Protocol

RSocket is a binary protocol for use on byte stream transports such as TCP,
WebSockets WebSocket is a computer communications protocol, providing full-duplex communication channels over a single TCP connection. The WebSocket protocol was standardized by the IETF as in 2011. The current API specification allowing web applications t ...
, and Aeron. It enables the following symmetric interaction models via async message passing over a single connection: * request/response (stream of 1) * request/stream (finite stream of many) * fire-and-forget (no response) * channel (bi-directional streams) It supports session resumption, to allow resuming long-lived streams across different transport connections. This is particularly useful for mobile‹–›server communication when network connections drop, switch, and reconnect frequently.


References

Network socket Application programming interfaces {{DEFAULTSORT:RSocket