
Spring WebFlux 是一个响应式非阻塞 Web 堆栈,与传统的 Spring Web MVC 相比,它可以更好地扩展并提供更好的性能!在本课程中,我们将学习使用 Spring WebFlux 构建反应式微服务的各种集成和弹性设计模式。
在本课程结束时,您会感到舒适
集成模式
以更好的方式处理多个反应式微服务通信!
网关聚合器模式
这种模式的目的是在客户端需要与多个后端服务进行通信以执行操作时减少网络延迟,并且还可以充当复杂后端服务的外观。
分散聚集模式
此模式的目的是将请求消息路由到多个后端服务。然后它使用聚合器来收集响应。
编排器模式(SAGA – 用于并行工作流)
此模式的目的是编排多个后端服务以提供复杂的工作流程。以电子商务应用为例,我们有支付服务、库存服务、运输服务等。只有当所有这些服务都返回成功响应时,才能完成订单。付款成功但发货失败时需要做什么,反之亦然。如何处理跨越多个微服务的复杂事务?
Orchestrator 模式(用于顺序工作流)
这与上面相同。但是对于我们提供顺序工作流的稍微不同的用例。使用此模式替换链式微服务调用。
分离器模式
此模式的目标是使用一条包含重复元素列表的消息,每个元素都可以单独处理。
弹性模式
如何创建更健壮、更有弹性的反应式微服务。
超时模式
此模式的目的是在远程服务未及时响应您的请求时使您的服务更具弹性。
重试模式
创建更强大的服务来处理间歇性网络问题或远程服务问题。
断路器模式电路
此模式的目的是在依赖的远程服务不健康或无法访问时保护您的服务并满足 SLA。
速率限制器模式
如何保护您的服务免受 DDoS 攻击?如何限制远程网络调用以将价格保持在预算范围内等
隔板模式
此模式的目的是根据优先级为您的服务分配一组资源。因此,一个功能中的问题不会导致整个应用程序崩溃。
本课程适用于
任何对使用 WebFlux 进行微服务开发/架构感兴趣的开发人员/架构师
Integration & Resilient Design Patterns to build Reactive Microservices
Published 04/2022
MP4 | Video: h264, 1280×720 | Audio: AAC, 44.1 KHz, 2 Ch
Genre: eLearning | Language: English + srt | Duration: 105 lectures (8h 27m) | Size: 3.46 GB
What you’ll learn
- Advanced Spring WebFlux
- Reactive Microservices
- Circuit Breaker Pattern
- Rate Limiter Pattern
- Bulkhead Pattern
- Timeout Pattern
- Retry Pattern
- Gateway Aggregator Pattern
- Scatter Gather Pattern
- Orchestrator Pattern
- Splitter Pattern
Requirements
- Knowledge on Reactive Programming
- Knowledge on Spring WebFlux
- Comfortable with Indian Accent ?
Description
This is the 5th course in the Reactive Course Series
Spring WebFlux is a reactive non-blocking web stack which scales better & provides better performance compared to traditional Spring Web MVC!
In this course, we learn various integration and resilient design patterns with Spring WebFlux to build Reactive Microservices.
By the end of this course you would be comfortable with
Integration Patterns
Handling multiple reactive microservices communication in a much better way!
Gateway Aggregator Pattern
Aim of this pattern is to reduce the network latency when a client needs to communicate with multiple backend services to perform an operation & also to act like a facade for the complex backend services.
Scatter Gather Pattern
Aim of this pattern is to route a request message to the number of backend services. It then uses an Aggregator to collect the responses.
Orchestrator Pattern (SAGA – for parallel workflow)
Aim of this pattern is to orchestrate multiple backend services to provide a complex workflow. Take an e-commerce application in which we have payment service, inventory service, shipping service etc. An order can be fulfilled only when all these services return success response. What needs to be done when payment is success but shipping failed or vice versa. How to handle such complex transactions which spans multiple microservices?
Orchestrator Pattern (for sequential workflow)
This is same as above. But for a slightly different use case where we provide sequential workflow. Use this pattern to replace chained microservice calls.
Splitter Pattern
Aim of this pattern to consume one message containing a list of repeating elements, each of which can be processed individually.
Resilient Patterns
How to create more robust & resilient reactive microservices.
Timeout Pattern
Aim of this pattern is to make your service more resilient when the remote service is not responding to your requests in a timely manner.
Retry Pattern
To create more robust service which handles intermittent network issues or the remote services issues.
Circuite Breaker Pattern
Aim of this pattern is to protect your services and meet SLAs when dependent remote services are not healthy or not reachable.
Rate Limiter Pattern
How to protect your services from DDoS attack? How to limit the remote network calls to keep the price within the budget etc
Bulkhead Pattern
Aim of this pattern is to allocate a set of resources to your services based on the priority. So that a problem in one feature does not bring the entire application down.
Who this course is for
Any Developer / Architect who is interested in Microservice Development / Architecture with WebFlux

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