Mô tả

Dive deep into the intricacies of concurrency & Learn how to make your Java applications run smoother and faster using simple and effective concurrency techniques. From the basics to hands-on projects, this course equips you with the skills to revolutionize your approach to programming.

Course Highlights:

  1. Understanding Concurrency: Learn about the challenges of traditional threads and discover how Java Virtual Threads provide a simpler and more efficient solution for making your programs scale seamlessly.

  2. Executor Service Mastery: Dive into using Executor Service with Virtual Threads. Overcome challenges, control concurrency, and process tasks more efficiently by breaking them down into parallel subtasks.

  3. Completable Future Exploration: Explore Completable Future for asynchronous task processing with Virtual Threads. Learn practical methods, handle timeouts, and manage errors in a declarative style.

  4. Preview of Structured Concurrency: Get a sneak peek into Java's new preview APIs, giving you insights into the future of concurrent programming. Stay ahead of the curve with a simplified understanding of Java's concurrency development.

  5. Practical Application Development: Apply what you've learned in a hands-on project using Spring Boot Web and Virtual Threads. See firsthand how these concepts integrate seamlessly into real-world application development.

  6. Scalability Testing with JMeter: Test your application's scalability using JMeter. Compare throughput and response time to ensure optimal efficiency under different conditions.

  7. Migration Made Easy: Conclude the course with a practical migration guide to transition your existing applications to Java Virtual Threads effortlessly. Get ready for a future where your programs effortlessly combine concurrency and scalability.

Unlock the full potential of Java Virtual Threads and elevate your programming skills. Enroll now to reshape the way you approach scalability and performance in Java applications!

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

Yêu cầu

Nội dung khoá học

8 sections

Introduction

1 lectures
Introduction
04:21

Deep Dive into Virtual Threads

27 lectures
Introduction
08:39
*** Resources ***
00:14
Project Setup
02:24
Platform Thread Creation Limit - Demo
11:38
Thread Builder - Factory Method
08:14
Virtual Thread Scaling - Demo
09:21
How Virtual Thread Works
12:03
Carrier Threads Demo
05:01
Virtual Thread & Stack
06:45
OPTIONAL - Getting Stack Trace
08:57
CPU Intensive Task - Part 1
10:55
CPU Intensive Task - Part 2
08:17
CPU Intensive Task - Part 3
14:32
Virtual Thread - Scheduler Config
01:56
Preemptive vs Cooperative Scheduling
09:04
Cooperative Scheduling Demo
11:30
How Virtual Thread Can Help?
01:44
Synchronization
03:04
OPTIONAL - Synchronization For Compute Tasks
05:35
Virtual Thread - Synchronization For IO Tasks
06:36
Pinning Threads
04:20
Tracing Pinned Threads
02:11
Fixing Pinned Threads Using Reentrant Lock
07:00
Virtual Thread Factory
08:49
OPTIONAL - Thread Methods
06:39
Quiz
6 questions
Summary
05:04

Executor Service

23 lectures
Introduction
04:09
Executor Service Types
04:20
Auto Closeable
06:45
Executor Service Types - Demo
11:04
** Resource ** - External Service
00:06
External Service
05:49
External Service Client
06:01
Access Response Using Future
05:32
OPTIONAL - Concurrency vs Parallelism
04:06
Future Useful Methods
02:02
Aggregator Service
10:04
Do We Create Extra Thread?
04:48
Clarification On Virtual Thread Executor Behavior
01:12
Executor With Virtual Thread Factory
01:18
Executor Service & Virtual Thread Challenges
01:57
Concurrency Limit
05:44
Semaphore
06:49
Virtual Thread Concurrency Limiter
08:50
What about Order?
04:02
Virtual Thread Concurrency Limiter With Order
07:48
Scheduled Executor With Virtual Thread
07:05
Quiz
4 questions
Summary
02:09

Completable Future

12 lectures
Introduction
08:43
How CompletableFuture Works
02:35
Simple CompletableFuture Demo
07:21
Run Async
07:54
Supply Async
02:13
Getting Product Info
02:29
Aggregator - Error Handling With CompletableFuture
05:05
Timeout
04:20
CompletableFuture - All Of
04:05
CompletableFuture - Any Of
03:58
CompletableFuture - Then Combine
06:31
Summary
02:04

** PREVIEW ** - Scoped Values & Structured Concurrency

11 lectures
Introduction
08:23
ThreadLocal - Part 1
06:36
ThreadLocal - Part 2
04:51
Scoped Values - Part 1
09:20
Scoped Values - Part 2
03:46
Structured Concurrency
05:02
StructuredTaskScope - Demo
11:01
StructuredTaskScope - ShutDown On Failure
06:19
StructuredTaskScope - ShutDown On Success
05:21
Inheriting Scoped Values
03:46
Summary
02:39

Application Development With Spring & Virtual Threads

15 lectures
Introduction
05:41
External Services
07:43
Project Setup
02:29
DTO
07:12
** Resource ** - RestClient
00:04
RestClient - Crash Course
12:13
Service Client
07:16
Trip Plan Service
07:40
Trip Reservation Service
05:40
Trip Controller
02:03
** Resource ** - Application Properties
00:03
Application Properties
00:36
Service Client Beans
03:25
Executor Service Bean
02:40
Application Demo
05:06

Performance Testing With JMeter

19 lectures
Introduction
06:10
Throughput vs Response Time
05:38
Setting Up JMeter
06:46
Creating Test Script
12:36
Throughput vs Response Time - Demo
03:42
JConsole
02:57
VisualVM
02:48
HttpClient Executor
05:49
Best Practices
03:31
** Resource ** - Test Scripts
00:05
Trip Reservation Test Script Creation
03:31
Trip Reservation Test With Platform Threads
05:19
Platform Threads Result Analysis
04:31
Virtual Threads Result Analysis
05:16
Rerunning Test With More Concurrent User Load
04:17
Trip Plan Test With Platform Threads
03:19
Trip Plan Test With Virtual Threads
01:43
Results Comparison
02:54
Summary
02:56

Whats next?

2 lectures
Migration Guide For Existing Applications
03:14
Is Reactive Programming Dead?
12:54

Đánh giá của học viên

Chưa có đánh giá
Course Rating
5
0%
4
0%
3
0%
2
0%
1
0%

Bình luận khách hàng

Viết Bình Luận

Bạn đánh giá khoá học này thế nào?

image

Đăng ký get khoá học Udemy - Unica - Gitiho giá chỉ 50k!

Get khoá học giá rẻ ngay trước khi bị fix.