RSocket响应式微服务应用实战开发教程Spring RSocket

RSocket响应式微服务应用实战开发教程Spring RSocket

Reactive Socket又名RSocket,是一种二进制协议,也是Netflix最近几年中最热门的技术之一。它为客户端和服务器通信提供Reactive-Streams支持。它使我们能够开发完全无阻塞的异步微服务。

使用RSocket有什么优点?

RSocket是在5/6层工作的二进制协议-与在网络7层工作的HTTP相比,它快得多。

RSocket使用持久TCP连接。(服务器也可以呼叫客户端)

RSocket支持反应式流。(客户端和服务器应用程序之间的非阻塞和异步通信)。

提供各种交互模型以及标准的请求和响应模型。

RSocket交互模型:

请求响应:标准请求和响应模型。

触发即忘:触发即忘是一种请求/响应,在不需要响应时非常有用。它不仅可以通过跳过响应来节省网络使用量,而且可以在客户端和服务器处理时间上进行重大的性能优化,因为不需要簿记来等待和关联响应或取消请求。对于诸如非关键事件日志记录之类的用例,此交互模型很有用。

请求流:单个请求,可以产生多个响应。例如Google搜索-单个关键字搜索可能会产生数百万个搜索结果。我们可以使用请求流模型向呼叫者提供流式响应。呼叫者可以随时取消响应。

请求通道(双向流):客户端/服务器或服务器到服务器与流请求和响应进行交互。我们可以开发游戏!!我们将在本课程中开发一个。

MP4 | Video: h264, 1280×720 | Audio: AAC, 44.1 KHz, 2 Ch
Genre: eLearning | Language: English | Duration: 137 lectures (9h 35m) | Size: 4 GB
Reactive Application Series – Part 3: Develop Reactive Microservices With RSocket

此内容仅限VIP查看,请先
本站资源仅限VIP会员下载点击购买VIP会员

What you’ll learn:
RSocket From Scratch
RSocket Spring Boot Integration
Reactive Microservices
RSocket Routing
RSocket Security
SSL / TLS
RSocket Load Balancing
RSocket Various Interaction Models

Requirements
Java Reactive Programming
Comfortable With Indian Accent

Description
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.

Request Channel (Bi Directional Streaming): Client/Server or Server-to-Server interact with streaming requests and responses. We can develop Games!! We will develop one in this course.

What will you learn from this course?

By the end of this course, You would be comfortable with,

RSocket

Spring Integration

RSocket Routing

Various interaction models and its usage

Connection setup

Managing Connections

Cancellation

Application Flow Control

Disposing Connections

Connection Retry

Session Resumption

Server Calling Clients

Peer to Peer messaging

Server calling client

Error Handling

OnErrorReturn

defaultIfEmpty

@MessageExceptionHandler

Metadata Push

SSL / TLS

Connection Level Authentication and Authorization

Request Level Authentication

Load Balancing

Server side

Client Side

A lot of hands on with Java Reactive Programming

Developing Microservices

Developing CRUD applications

Integration with Spring Data Reactive MongoDB

Client Server Game as Assignment

Server Sent Events

Who this course is for
Any Developer / Architect who is interested in Microservice Development / Architecture

wNvraL6k5KXW8VIn2ItVgY8IpGbA3PBN

原创文章,作者:steven,如若转载,请注明出处:https://rr3d.cn/3079.html

赞 (0)
steven的头像steven
上一篇 2021年4月8日
下一篇 2021年4月8日

相关推荐

发表回复

登录后才能评论
分享本页
返回顶部