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

Modern Java: Stream Gatherers & Scalable Concurrency

Java Hiện Đại: Stream Gatherers & Xử Lý Đồng Thời Mở Rộng

Java Hiện Đại: Stream Gatherers & Xử Lý Đồng Thời Mở Rộng

Stream Gatherers Java Hiện Đại, Virtual Threads, Xử Lý Đồng Thời Nâng Cao và Xử Lý I/O Thông Lượng Cao Có Thể Mở Rộng

4.9
(10 đánh giá)
335 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đ 399.000đ -87%
✓ Xem giỏ hàng và thanh toán
Bao gồm phụ đề tiếng Việt, tiếng Anh
6.0 giờ video
79 bài giảng
4 bài quiz
Truy cập vĩnh viễn
Học trên mọi thiết bị
Cập nhật: 31/05/2026

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

Các tính năng Java 24+ mới nhất
Xử Lý Hàng Loạt Java Streams với Virtual Threads
Viết gatherers không trạng thái và có trạng thái để kiểm soát luồng stream bằng logic tùy chỉnh
Tích hợp Virtual Threads để xử lý I/O có khả năng mở rộng cao
Thiết kế gatherers đồng thời không chặn, phát ra kết quả ngay khi hoàn thành
Kiểm soát mức độ đồng thời để tránh quá tải bằng gatherers giới hạn đồng thời
Xử lý lỗi một cách mượt mà mà không làm gián đoạn stream bằng các mẫu lỗi trì hoãn
Triển khai đồng thời lồng nhau một cách có cấu trúc và dễ bảo trì
Cải thiện hiệu suất và sử dụng bộ nhớ bằng thiết kế ưu tiên stream, không cần collection trung gian

Yêu cầu

Nên có kiến thức về Java Virtual Threads. Nếu bạn mới làm quen với Virtual Threads, hãy xem xét khóa học đồng hành của tôi về chủ đề này để có nền tảng vững chắc.

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

Lập Trình Viên Java Kinh Nghiệm: Những người đã quen với các kiến thức cơ bản về Java, bao gồm Streams, Lambdas và các khái niệm đồng thời cốt lõi.
Người Áp Dụng Java Hiện Đại: Lập trình viên mong muốn tận dụng các tính năng mới nhất của Java
Kiến Trúc Sư & Trưởng Nhóm: Các cá nhân chịu trách nhiệm thiết kế kiến trúc Java linh hoạt, hiệu quả và có thể mở rộng.

Nội dung khóa học

9 phần • 79 bài giảng
1 Sự Cần Thiết của Stream Gatherers
1 Thuật Ngữ Stream
2 Các Thành Phần Gatherer
3 *** Lời Thỉnh Cầu Khiêm Tốn & Tài Nguyên ***
4 Thiết Lập Dự Án
5 Cách Integrator Hoạt Động Với Upstream
6 Cách Integrator Hoạt Động Với Downstream
7 Ôn Tập Nhanh
8 Triển Khai Filter
9 Greedy Integrator
10 Sequential Gatherer
11 Triển Khai FlatMap
12 [BÀI TẬP] - Toán Tử Take Until
13 [GIẢI PHÁP BÀI TẬP] - Toán Tử Take Until
14 Tổng Kết
1 Initializer
2 Cách Initializer Hoạt Động
3 Distinct Gatherer
4 [BÀI TẬP] - Distinct Recent Gatherer
5 Moving Average Gatherer
6 Tổng Kết
1 Cách Finisher Hoạt Động - Phần 1
2 Cách Finisher Hoạt Động - Phần 2
3 Batch Until Gatherer
4 Cấu Trúc Dữ Liệu Phân Cấp - Expand Gatherer - Phần 1
5 Cấu Trúc Dữ Liệu Phân Cấp - Expand Gatherer - Phần 2
6 *** Tài Nguyên ***
7 Cấu Trúc Dữ Liệu Phân Cấp - Expand Gatherer - Demo
8 Xâu Chuỗi Gatherers
9 Downstream isRejecting - Vấn Đề & Giải Pháp Tạm Thời
1 Sự Cần Thiết Của Combiner
2 Cách Combiner Hoạt Động
3 Tại Sao Chúng Ta Có Nhiều SubTasks Hơn!
4 Parallel Max Gatherer
5 TopN Gatherer - Phần 1
6 TopN Gatherer - Phần 2
7 Bạn Có Cần Parallel Stream?
1 Window Fixed vs Window Sliding
2 Fold
3 Scan
4 Map Concurrent
5 Parallel vs Map Concurrent - Cách Chúng Hoạt Động
6 Map Concurrent - Thứ Tự & Các Vấn Đề Tiềm Ẩn
7 Tổng Kết
1 *** Dịch Vụ Bên Ngoài ***
2 Dịch Vụ Bên Ngoài
3 External Service Client
4 Map Concurrent
5 Triển Khai Execute Concurrent Gatherer - Phần 1
6 Triển Khai Execute Concurrent Gatherer - Phần 2
7 Triển Khai Execute Concurrent Gatherer - Phần 3
8 Execute Concurrent Gatherer - Demo
9 Giới Hạn Yêu Cầu Đang Bay
10 Triển Khai Delay Error Gatherer - Phần 1
11 Triển Khai Delay Error Gatherer - Phần 2
12 Delay Error Gatherer - Demo
13 ExecutorService: Xử Lý Lỗi Bằng Lập Trình Hướng Dữ Liệu
14 Đồng Thời Lồng Nhau - Phát Biểu Bài Toán
15 [Đồng Thời Lồng Nhau] - Aggregate Concurrent Gatherer - Phần 1
16 [Đồng Thời Lồng Nhau] - Aggregate Concurrent Gatherer - Phần 2
17 [Đồng Thời Lồng Nhau] - Làm Rõ Về Max Concurrency
18 Còn Về Nhiều SubTasks Hơn?
19 SubTask Executor - Triển Khai
20 SubTask Executor - Demo
21 Mẫu Timeout & Các Vấn Đề Tiềm Ẩn
22 Hạn Chế Của Blocking Integrator
1 Thảo Luận Yêu Cầu
2 Mục Tiêu Dự Án
3 *** Tài Nguyên ***
4 Thiết Lập Dự Án
5 Geo Data Client
6 Cấu Hình Ứng Dụng
7 Thiết Lập Geo Crawler Service
8 Vấn Đề Kết Quả Trung Gian
9 Triển Khai Geo Crawler Service
10 Geo Crawler Demo
11 Lỗi Connection Reset - Sửa Sự Cố
12 Tóm Tắt
1 Tiếp Theo Là Gì?

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

Up-to-date with JDK/Java 25 & Spring Boot 4

Prerequisite: Familiarity with Java Virtual Threads is recommended. If you are new to Virtual Threads, consider checking out my companion course on the topic for a solid foundation.

This in-depth course is designed for experienced Java developers looking to master the cutting-edge Stream Gatherers API and unlock the full potential of Virtual Threads for building high-performance, scalable applications.

Java has evolved, and so have its concurrency tools. With the introduction of Stream Gatherers and Virtual Threads, you can now write efficient, readable, and scalable I/O pipelines using familiar Stream constructs. This course is practical, modern, and tailored to help you build real-world, concurrent Java applications without the traditional complexity of thread management.

What You Will Learn

  1. Understand how Stream Gatherers enhance the Java Stream API

  2. Master Stateless Gatherers using integrators for simple yet powerful stream transformations

  3. Build Stateful Gatherers using initializers for scenarios that require shared or evolving context

  4. Implement Finisher logic for end-of-stream aggregation, cleanup, or final state transformation

  5. Explore Combiners and their role in parallel stream execution

  6. Deep-dive into built-in gatherers and learn when and how to use them effectively

  7. Write your own custom gatherers to unlock advanced stream patterns

  8. Use Virtual Threads to handle high-volume I/O-bound tasks with minimal overhead

  9. Design Concurrent Gatherers that:

    • Execute and emit results

    • Support Concurrency Limits to avoid resource exhaustion

    • Handle errors without blocking other operations (e.g. Delay Error pattern)

    • Allow Nested Concurrent Processing for multi-stage, multi-level pipelines

  10. Build a Massive I/O Stream Pipeline project using Stream Gatherers + Virtual Threads

    • Ingest 150K+ API calls efficiently with lightweight concurrency

    • Avoid intermediate collection for better throughput and memory efficiency

    • Save data with batched writes and stream-friendly persistence

Why Take This Course?

Many developers avoid writing high-concurrency code because of complexity and fear of resource management. This course changes that by using Stream Gatherers and Virtual Threads to simplify the process.

You will learn how to think in terms of composable data pipelines rather than low-level threads or futures. The examples and patterns you build will help you tackle real I/O-heavy use cases with confidence and performance.

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 Concurrency
Hiển thị tất cả khoá học Java
Hiển thị tất cả khoá học Virtual Threads
Zalo
Tôi có thể tư vấn khoá học cho bạn 😊