Reactive Socket aka rSocket is a binary protocol & one of the hottest technologies in the recent years from Netflix. It provides Reactive–Streams support for client and server communication. It enables us to develop fully non blocking asynchronous Microservices.
What are the advantages of using RSocket?
RSocket is a binary protocol works at layer 5/6 – It is a lot faster compared to HTTP which works at network layer 7.
RSocket uses Persistent TCP connection. (Server can also call Client)
RSocket supports Reactive Streams. (non–blocking and asynchronous communication between client and server applications).
Provides various interaction models along with standard Request and Response model.
RSocket Interaction Models:
Request Response: Standard request and response model.
Fire and Forget: Fire–and–forget is a request/response that is useful when a response is not needed. It allows for significant performance optimizations, not just in saved network usage by skipping the response, but also in client and server processing time as no bookkeeping is needed to wait for and associate a response or cancellation request. This interaction model is useful for use cases such as non–critical event logging.
Request Stream: A single request which can produce multiple responses. For example Google Search – a single keyword search could result millions of search results. We can use Request Stream model to provide streaming responses to the caller. The caller can cancel responses at any time.
Specification: Spring RSocket
|
User Reviews
Be the first to review “Spring RSocket” Cancel reply
This site uses Akismet to reduce spam. Learn how your comment data is processed.
Price | $12.99 |
---|---|
Provider | |
Duration | 9.5 hours |
Year | 2021 |
Level | All |
Language | English |
Certificate | Yes |
Quizzes | No |
There are no reviews yet.