What you'll learn:
- You will learn how to harness the power of Virtual Threads to create highly scalable and efficient Java applications.
- What are Platform Threads and the limitations attached to it ?
- Learn about Virtual Threads and how to work with them by coding it.
- Learn about the advantages and internals of virtual threads.
- Learn to launch one million virtualthreads.
- Learn to use Structured Concurrency API to implement business logic.
- HTTP calls using Virtual Threads.
- Build a SpringBoot Application using Virtual Threads.
- Compare the performance of Platform Threads vs Virtual Threads in a Springboot App using Apache "ab" benchmarking tool.
- Use Virtual Threads by building hands-on projects and real world examples.
"Modern Java - Multithreading in Java using Virtual Threads" is a comprehensive course designed to equip Java developers with advanced skills in parallel programming. In this course, you will delve into the intricacies of multithreading in Java, exploring the latest advancements with Virtual Threads.
You will learn how to harness the power of Virtual Threads to create highly scalable and efficient Java applications. Through hands-on projects and real-world examples, you will master techniques for managing concurrency, synchronizing threads, and avoiding common pitfalls in multithreaded programming.
Getting Started With the Course
In this section, I will give you all an introduction to the course and what to expect from this course.
Getting Started with Java Threads [Platform Threads]
In this section, I will give you all an introduction to Java Threads and its limitations.
Getting Started with Virtual Threads
In this section, I will give you all an introduction to Virtual Threads and dive into some detailed concepts.
Concurrency APIs - Threadpools,Future, ExecutorService & CompletableFuture
In this section, I will cover the concurrency APIs Future and CompletableFuture.
Structured Concurrency using Virtual Threads [Preview Feature]
In this section, I will cover Structured Concurrency and learn to write business logic using Structured Concurrency.
HTTP calls using Virtual Threads
In this section, we will code HTTP Clients and use virtual threads to execute them.
Using Futures with Virtual Threads
In this section, we will learn to use Virtual Threads with Future and ExecutorService.
Build a SpringBoot Application using Virtual Threads
In this section, we will code and learn to integrate virtual threads with springboot application.
Load Test using "ab - Apache HTTP server benchmarking tool"
In this section, we will run the load test and compare the performance between Spring MVC using VirtualThreads and Traditional Spring MVC
Whether you're a seasoned Java developer looking to enhance your skills or a newcomer interested in mastering the latest trends in Java development, this course will provide you with the knowledge and tools to take your Java multithreading skills to the next level.