Ưu đãi trong tuần: Nhập mã UD50 giảm 50k cho đơn từ 300k!
Trang chủ
Menu

Spring WebFlux Masterclass: High-Performance Reactive APIs

Spring WebFlux Masterclass: Xây dựng API Reactive Hiệu Năng Cao

Spring WebFlux Masterclass: Xây dựng API Reactive Hiệu Năng Cao

Xây dựng Microservices Spring Boot WebFlux nhanh hơn 10 lần, có khả năng mở rộng: Non-Blocking I/O, R2DBC, WebClient, HTTP/2, Streaming

4.7
(1,864 đánh giá)
17,777 học viên
Giảng viên
Vinoth Selvaraj
Phụ đề Việt chất lượng cao Phụ đề tiếng Anh Bán chạy Đánh giá cao
50.000đ 1.519.000đ -97%
✓ Xem giỏ hàng và thanh toán
Bao gồm phụ đề tiếng Việt, tiếng Anh
13.5 giờ video
345 bài giảng
2 bài quiz
Truy cập vĩnh viễn
Học trên mọi thiết bị
Cập nhật: 30/05/2026

Bạn sẽ học được gì

Làm chủ Spring WebFlux: Học cách xây dựng ứng dụng web hiện đại, có khả năng mở rộng và phản hồi nhanh bằng Spring WebFlux.
Tiếp cận Lập trình Reactive: Hiểu lợi ích của lập trình reactive để xây dựng ứng dụng hiệu quả và có khả năng mở rộng.
Tận dụng R2DBC: Học cách sử dụng R2DBC để truy cập dữ liệu reactive và cải thiện hiệu suất ứng dụng.
Đạt Hiệu Năng Cao & Khả Năng Mở Rộng Với HTTP2
Xây dựng Reactive Controllers: Tạo reactive controllers với các annotation Spring WebFlux và xử lý request/response hiệu quả.
Xử lý Lỗi: Học các chiến lược xử lý lỗi hiệu quả để mang lại trải nghiệm người dùng mượt mà.
Sử dụng WebFilters cho Xử lý Trước và Sau: Kết nối các WebFilter cho logic phức tạp và chia sẻ dữ liệu hiệu quả.
Triển khai Streaming: Học cách triển khai streaming phía client và server để tối ưu hóa việc truyền dữ liệu.
Tối ưu Hiệu suất: Sử dụng các kỹ thuật như nén Gzip, HTTP connection pooling và HTTP/2 để cải thiện hiệu suất ứng dụng.
Làm chủ Kiểm thử Tích hợp: Học cách kiểm thử hiệu quả ứng dụng Spring WebFlux của bạn bằng WebTestClient.
Học qua Thực hành: Học thông qua các ví dụ mã và bài lab thực tế.
Tình huống Thực tế: Áp dụng kiến thức để xây dựng các ứng dụng web thực tế.
Hướng dẫn từ Chuyên gia: Học từ giảng viên giàu kinh nghiệm chuyên về Spring WebFlux.

Yêu cầu

Kiến thức vững về Lập trình Reactive (hãy xem khóa học của tôi nếu bạn mới làm quen với lập trình reactive)
Kiến thức về Spring Boot
Quen thuộc với giọng Ấn Độ :)

Đối tượng phù hợp

Dành cho bất kỳ Lập trình viên / Kiến trúc sư nào quan tâm đến Phát triển / Kiến trúc Microservice với WebFlux

Nội dung khóa học

16 phần • 192 bài giảng
1 Trước khi bạn đăng ký
1 *** Tài nguyên ***: Cập nhật với Spring Boot 4.X
2 Thiết lập Dự án
3 Dịch vụ Bên ngoài
4 API Truyền thống vs Reactive
5 API Truyền thống vs Reactive - Demo
6 API Truyền thống vs Reactive - Demo qua Trình duyệt
7 Exposing Streaming API
8 Lỗi Thường gặp khi sử dụng Reactive Pipeline
9 Reactive Web Hoạt động như thế nào - Từng bước
10 FAQ - Toàn bộ Stack có cần là Reactive không?
11 Reactive Web có Khả năng Phục hồi Cao - Demo
12 Tổng kết
1 R2DBC - Giới thiệu
2 Connection String
3 *** Tài nguyên *** - Script Khởi tạo Cơ sở dữ liệu
4 Thiết lập Dự án
5 Spring Data - Khóa học Cấp tốc
6 Customer Entity / Repository
7 Step Verifier - Khóa học Cấp tốc
8 CRUD Sử dụng Repository - Phần 1
9 CRUD Sử dụng Repository - Phần 2
10 CRUD Sử dụng Repository - Phần 3
11 R2DBC - Hiển thị SQL
12 *** Bài tập *** - Phương thức Truy vấn Price Range
13 Pageable
14 Còn các Truy vấn Phức tạp thì sao?
15 *** Tài nguyên *** - SQL cho Products Ordered By Customer
16 Join Query Sử dụng @Query
17 *** Tài nguyên *** - SQL cho Projection
18 Projection
19 R2DBC Database Client
20 Tổng kết
1 R2DBC vs JDBC - Giới thiệu
2 [Kiểm thử Hiệu suất] Thông lượng / Hiệu quả
3 Cách R2DBC Hoạt động
4 FAQ - Tôi có thể dùng Spring Data JPA không?
5 Tuyên ngôn Reactive (Reactive Manifesto)
1 Reactive CRUD APIs - Giới thiệu
2 FAQ - Chúng ta có cần DTOs không?
3 DTO / Entity / Repository
4 Triển khai Service Class
5 Controller
6 FAQ - @RequestBody Mono vs T
7 Demo CRUD APIs
8 Mono/Flux - Response Entity
9 Xử lý 4XX qua Response Entity
10 @Modifying Query
11 Kết quả Phân trang
12 Demo CRUD APIs
13 WebTestClient - Giới thiệu
14 Kiểm thử Tích hợp - Phần 1
15 Kiểm thử Tích hợp - Phần 2
16 Kiểm thử Tích hợp - Phần 3
17 POST / PUT - Body Publisher vs Body Value
18 Tổng kết
1 Chi tiết Vấn đề
2 Bean Validation thì sao?
3 Thiết lập Dự án
4 Application Exceptions
5 Request Validator
6 Validation - Phát ra Tín hiệu Lỗi
7 @ControllerAdvice
8 Demo qua Postman
9 *** Bài tập ***
10 Integration Tests
11 Tổng kết
1 WebFilter - Giới thiệu
2 WebFilter Chain - Cách nó hoạt động
3 Yêu cầu Xác thực & Ủy quyền
4 Triển khai WebFilter
5 Attributes qua WebFilter
6 Demo WebFilter
7 Truy cập Attributes qua @Controller
8 Chi tiết Vấn đề - Giải pháp WebFilter
9 *** Bài tập ***
10 Integration Tests
11 Tổng kết
1 Functional Endpoints - Giới thiệu
2 Cấu hình Router - Phần 1
3 Request Handler
4 Cấu hình Router - Phần 2
5 Xác thực Đầu vào / Xử lý Lỗi
6 Kết quả Phân trang
7 Thứ tự các Routes
8 Demo qua Postman
9 Integration Tests
10 Nhiều Router Functions
11 Router Functions Lồng nhau
12 WebFilters thì sao?
13 Request Predicates
14 *** Bài tập ***
15 Functional / Request Predicates - Giải pháp Bài tập
16 Tổng kết
1 WebClient - Giới thiệu
2 Thiết lập Dự án
3 Simple GET
4 Non-blocking Concurrent Requests
5 [Tùy chọn] - Cách Event Loop Hoạt động
6 URI Variables
7 Streaming GET
8 POST - Body Publisher vs Body Value
9 Cấu hình / Ghi đè Headers Mặc định
10 Xử lý Lỗi Dịch vụ Từ xa
11 Retrieve / Exchange
12 Query Params
13 Basic Auth
14 Bearer Auth
15 Exchange Filter Function
16 *** Bài tập ***
17 WebClient Attributes
18 Tổng kết
1 Streaming - Giới thiệu
2 Upload Triệu Sản phẩm - Trường hợp sử dụng
3 JSON Lines
4 Thiết lập Dự án
5 Product Service
6 Product Streaming Upload API
7 Product Client
8 Client Streaming Request - Demo
9 @RequestBody - Làm rõ Non-Blocking
10 Upload 1 Triệu Sản phẩm - Demo
11 *** Bài tập *** - Download API
12 *** Tài nguyên *** - FileWriter
13 Download 1 Triệu Sản phẩm - Demo
14 Còn Bidirectional Stream thì sao?
15 Tổng kết
1 Giới thiệu
2 Cấu hình Sink
3 Phát ra Items qua Sink
4 Exposing Streaming API
5 Demo SSE
6 Triển khai Price Filter
7 *** Tài nguyên *** - Index HTML
8 Thêm UI
9 Demo Price Filter qua UI
10 Integration Tests
1 Tối ưu Hiệu suất - Giới thiệu
2 gzip
3 *** Tài nguyên *** - Thuộc tính gzip
4 Bật gzip
5 Demo gzip
6 Keep Alive / Connection Pooling
7 Keep Alive / Connection Pooling - Thiết lập Dự án
8 *** Tài nguyên *** - Lệnh Netstat
9 HTTP Connections qua netstat
10 Cấu hình Kích thước Connection Pool
11 Tính toán Kích thước Pool
12 SocketException - Vấn đề Quá nhiều File mở
13 HTTP2 Giới thiệu
14 HTTP2 - Demo
15 SubscribeOn - Cho Blocking IO
16 Tổng kết
1 Trading Platform - Giới thiệu
2 [Customer Portfolio] - *** Tài nguyên *** - Script Khởi tạo Cơ sở dữ liệu
3 [Customer Portfolio] - Thảo luận Yêu cầu
4 [Customer Portfolio] - Thiết lập Dự án
5 [Customer Portfolio] - DTO / Entity / Repository
6 [Customer Portfolio] - Application Exceptions
7 [Customer Portfolio] - Customer Information Service
8 [Customer Portfolio] - Trade Buy Request Handler
9 [Customer Portfolio] - Trade Sell Request Handler
10 [Customer Portfolio] - Controller
11 [Customer Portfolio] - Exception Handler
12 [Customer Portfolio] - Integration Tests - Phần 1
13 @Transactional - Cảnh báo H2 DB
14 [Customer Portfolio] - Integration Tests - Phần 2
15 [Aggregator] - Giới thiệu
16 [Aggregator] - Thiết lập Dự án
17 [Aggregator] - Bộ kiểm tra Yêu cầu
18 [Aggregator] - Client Dịch vụ Cổ phiếu
19 [Aggregator] - Luồng Giá Nóng
20 [Aggregator] - Client Dịch vụ Khách hàng
21 [Aggregator] - Dịch vụ Danh mục Khách hàng
22 [Aggregator] - Triển khai API Nền tảng Giao dịch
23 [Aggregator] - @ControllerAdvice
24 [Aggregator] - Cấu hình
25 MockServer - Giới thiệu
26 *** Tài nguyên *** - Phụ thuộc MockServer
27 [Aggregator] - Kiểm thử Tích hợp - Thiết lập
28 [Aggregator] - Giả lập Dịch vụ Khách hàng
29 [Aggregator] - Kiểm thử Tích hợp - Kiểm tra API Thông tin Khách hàng
30 [Aggregator] - Kiểm thử Tích hợp - Kiểm tra API Luồng Dịch vụ Cổ phiếu
31 [Aggregator] - Kiểm thử Tích hợp - Kiểm tra API Giao dịch Khách hàng
32 Demo qua Postman
33 *** Tài nguyên **** - Trang HTML Chính
34 Nền tảng Giao dịch - Demo Cuối cùng
1 Tiếp theo là gì?
2 Chuỗi Khóa học Reactive
1 R2DBC - Entity Callback
2 Spring WebFlux - Ví dụ Tải tệp lên
3 Spring WebFlux Security

Giới thiệu khóa học

The course project is up to date Spring Boot 4.0

This Masterclass is the practical, complete guide to Spring WebFlux. You will master Non-Blocking I/O techniques, leveraging Reactive Programming principles, to build highly scalable and resilient microservices. The core focus is on maximizing performance and throughput by eliminating thread blocking. Learn advanced Spring Boot and Spring WebFlux skills including R2DBC for reactive data access, and HTTP/2 Streaming for optimal inter-service communication. This course delivers the expertise needed to transform your enterprise architecture for high-concurrency demands.

What You Will Master: Core Skills & Performance

Every module is designed to provide you with an immediate, high-value, and actionable skill:

  • Reactive vs. Traditional APIs: Understand the architectural shift from blocking to Non-Blocking I/O. Master the fundamental differences between Traditional APIs and Reactive APIs for maximum scalability.

  • Reactive Data Access & Benchmarking (R2DBC): Implement non-blocking data access using R2DBC drivers and Spring Data R2DBC repositories. Benchmark and prove the throughput and resource efficiency of R2DBC against Spring Data JPA.

  • Reactive Controller Development: Master creating reactive controllers, handling requests and responses using Flux/Mono, and validating logic using the dedicated WebTestClient tool.

  • Advanced Error Handling: Discover techniques for managing exceptions within reactive pipelines. Implement strategies to return meaningful, consistent error responses for a robust user experience.

  • WebFilter Chaining & Cross-Cutting Concerns: Explore how to implement and chain multiple WebFilters for complex logic. Master pre-processing and post-processing requests and effectively share data across the reactive flow.

  • Functional Programming in WebFlux: Leverage the power of lambda expressions to write concise, readable code. Build controllers using the modern functional endpoints (Router Functions) pattern.

  • Building Non-Blocking Clients (WebClient): Learn to use WebClient to consume external APIs asynchronously using reactive streams. Handle asynchronous responses efficiently in a truly non-blocking manner.

  • Streaming & Real-Time Data: Implement client-side and server-side data streaming for large file transfers using WebClient. Master backpressure handling for optimized performance. Enable real-time updates using Server-Sent Events (SSE) with Spring WebFlux.

  • Optimizing for Performance (Microservice Communication): Implement Gzip compression for maximum bandwidth savings. Configure HTTP connection pooling to reduce connection overhead. Leverage HTTP/2 protocol and multiplexing for efficient concurrent communication.

  • Integration Testing Mastery: Master end-to-end testing with WebTestClient, embedding rigorous testing practices throughout the entire course.

By the end of this course, you will be the expert ready to build modern, high-throughput, and scalable Spring WebFlux microservices that maximize resource efficiency under load.

Khóa học liên quan

Khám phá thêm các khoá học cùng chủ đề

Hiển thị tất cả khoá học Backend Development
Hiển thị tất cả khoá học Java
Hiển thị tất cả khoá học Spring Framework
Hiển thị tất cả khoá học Web Development
Zalo
Tôi có thể tư vấn khoá học cho bạn 😊