Spring WebFlux Masterclass: Reactive Microservices [New]

所在平台: Udemy

课程主页: https://www.udemy.com/course/spring-webflux/

课程评论:没有评论

第一个写评论        关注课程

课程简介

课程名称:Spring WebFlux Masterclass: Reactive Microservices [新] 课程概述: 该课程专为已有反应式编程基础的学习者设计,旨在全面介绍Spring WebFlux,这是一个用于构建高可扩展性、弹性和响应式Web应用程序的框架,基于反应式编程原则。 **学习内容包括:** 1. **传统API与反应式API的区别**:了解反应式API如何与传统API不同。 2. **反应式数据访问R2DBC**:学习如何通过R2DBC驱动程序连接到关系数据库,创建反应式存储库,并使用反应式数据访问模式执行CRUD操作。同时,进行吞吐量和效率测试,展示R2DBC的优势。 3. **构建CRUD操作**:掌握使用Spring WebFlux注解创建反应式控制器,处理Flux和Mono的请求与响应,并进行集成测试。 4. **错误处理策略**:探索在反应式管道中管理异常的技巧,学习如何返回有意义的错误响应,以提升用户体验。 5. **WebFilter/拦截器链**:了解如何实现WebFilters进行请求和响应的预处理及后处理,链式调用多个WebFilters以实现复杂逻辑,并有效传递数据。 6. **WebFlux中的函数式编程**:利用Lambda表达式编写简洁易读的代码,构建具有功能端点的反应式控制器,并理解函数式编程的优势。 7. **构建反应式客户端**:学习如何使用WebClient构建反应式客户端,以非阻塞方式高效处理异步响应,消费外部API。 8. **流式处理**:实现客户端和服务器端的流式数据传输,支持Server-Sent Events (SSE)以实现实时数据更新。 9. **性能优化**:通过Gzip压缩和HTTP连接池优化带宽使用及应用程序可扩展性,利用HTTP/2协议实现高效通信。 10. **集成测试**:使用WebTestClient掌握集成测试,将测试实践贯穿于学习过程中。 **课程结构**: - 以实际的代码示例和演示为重点,设计与各模块主题相对应的实践实验。 - 提供进一步学习Spring WebFlux和反应式编程概念的资源(文章、教程、官方文档)。 完成本课程后,您将具备使用Spring WebFlux构建现代、高效、可扩展Web应用程序的知识和技能。加入本课程,掌握Spring WebFlux,解锁反应式编程的潜力,开发高性能、弹性和实时的应用程序。

课程评论(0条)

课程详情

Prerequisite: Knowledge on Reactive Programming. Please check out my Reactive Programming Course.Course FocusThis course provides a comprehensive introduction to Spring WebFlux, a framework for building highly scalable, resilient and responsive web applications using reactive programming principles.What You'll LearnTraditional vs Reactive APIsHow Reactive APIs are different from Traditional APIs.Reactive Data Access R2DBCLearn to connect to relational databases reactively using R2DBC drivers, create reactive repositories with Spring Data R2DBC, implement CRUD operations with reactive data access patterns, and effectively integration test your data access layer.Running a throughput/efficiency test to demonstrate the power of R2DBC, its throughput and how it uses the system resources more efficiently compared to Spring Data JPA.Building CRUD OperationsMaster creating reactive controllers with Spring WebFlux annotations, handling requests and responses with Flux and Mono, integration testing your reactive controllers.Error Handling StrategiesDiscover techniques for managing exceptions within reactive pipelines using various operators. Learn how to return meaningful error responses for a robust user experience.WebFilter/Interceptor ChainingExplore how to implement WebFilters for pre-processing and post-processing requests and responses. Chain multiple WebFilters for complex logic, pass attributes from WebFilters to controllers, and share data effectively.Functional Programming with WebFluxLeverage the power of lambda expressions to write concise and readable code. Build reactive controllers with functional endpoints and understand the benefits of functional programming within WebFlux.Building Reactive ClientsLearn to use WebClient to build reactive clients that consume external APIs using reactive streams and handle asynchronous responses efficiently in a non-blocking manner.StreamingImplement client-side streaming for uploading data as a stream using WebClient and explore backpressure handling for optimized data transfer.Implement server-side streaming for downloading data as a stream using WebClient.Implement Server-Sent Events (SSE) with Spring WebFlux to enable real-time data updates from server to client.Optimizing for PerformanceGzip compressionHTTP connection pooling to optimize bandwidth usage and application scalability.Leveraging HTTP/2 protocol for efficient communication (New!).Integration TestingMaster integration testing with WebTestClient, combining testing practices into our learning process throughout the course.Course StructureFocus on practical code examples and demos tailored to each module's specific topic.Hands-on labs to solidify your learning throughout the course.Access to resources for further learning on both Spring WebFlux and prerequisite reactive programming concepts (articles, tutorials, official documentation).By the end of this course, you'll be equipped with the knowledge and skills to build modern, performant, and scalable web applications using Spring WebFlux.NoteA basic understanding of reactive programming is assumed as a prerequisite for this course.Join this course to master Spring WebFlux and unlock the potential of reactive programming for developing highly performant and scalable microservices. Gain the skills necessary to build resilient, efficient, and real-time applications using Spring WebFlux's non-blocking and event-driven architecture.

课程标签

0人关注该课程

主题相关的课程