Creating a Reactive Protocol

Learn how to create a reactive protocol.

We'll cover the following

RSocket is a layer 7 protocol similar to HTTP and WebSocket. It’s developed by multiple companies, including VMware, Facebook, Netifi, Alibaba, and others.

RSocket isn’t just for Java developers. It includes a specification and support for Java, JavaScript, Go, .NET, C++, and Kotlin.

Note: The RSocket project has adopted Reactor as its Reactive Streams implementation of choice for Java. As a result, our skills developed with this course are easy to leverage. While the Reactive Streams community has gone to great lengths to ensure interoperability between toolkits, using the same toolkit between both RSocket and Spring Boot is a keen advantage.

What are Reactive protocols?

RSocket is designed to run on top of multiple protocols, including WebSocket, TCP, Aeron, and others. We’ve already talked about WebSocket. To conclude that discussion, it’s valuable to know that WebSockets are so light and flexible that they can support everything RSocket needs.

TCP is a powerful layer 4 protocol. HTTP services run on TCP by using its connection management. RSocket can use TCP to create fault-tolerant, scalable, and reactive connections.

Get hands-on with 1400+ tech skills courses.