課程資料
課程簡介
Java Virtual Threads, Multithreading, Structured Concurrency, Scoped Values, Continuations and use with Spring Boot
Recent Updates :
Updated all Java code to use JDK 25 and Spring Boot code to use Spring Boot 4.X or 3.5.X
Project demonstrating scaling a Spring Boot application to 100,000 concurrent users with impressive response time
Project Loom in a new revolutionary initiative in OpenJDK to create a Lightweight implementation of Threads called Virtual Threads. Java Virtual Threads revolutionize the way non blocking code is written and dramatically reduce costs by using less resources in the Cloud. Instead of relying on complex Reactive programming, Java developers can now write code sequentially and still achieve the same result in many cases. This is one of the most extensive changes in the Java Platform and it is a game changer for writing highly scalable Multithreading applications. Existing code (like Spring Boot code) can also take advantage of this new technology with minor modifications.
Developers and Architects can help their Organization cut costs by using less number of machines to support the same number of users. Be a hero by proposing the use of Virtual Threads in your project.
WHAT THE LEARNERS ARE SAYING:
5 STARS - This was pleasurable journey. Very informative, understandable and easy to follow. I wish there was such a course about java io/nio, net/sockets on Udemy.
5 STARS - Excellent course .. simplified such a complex topic ! Great work !!
5 STARS - Excellent introduction to virtual threads and the complex concepts are explained with simple diagrams, which makes it easy to visualize the inner workings of virtual threads.
5 STARS - Great course. Nice start with describing all the concurrency concepts. Course includes practical examples and descriptive diagrams to understand better the internal workings of virtual threads. If somebody is interested in this subject - this course is a good choice to understand how threads in java works and virtual threads.
5 STARS - Amazing course, great job! I would highly recommend this course to anyone who wants to dive deeper into the concurrency topic.
In this course, you will learn the following
How to increase scalability and dramatically reduce costs using Virtual Threads ?
What is the reason behind scalability issues of Java Platform Threads ?
What are Virtual Threads and how are they different from Platform Threads ?
How can developers scale their application using Virtual Threads in Spring Boot ?
How do Virtual Threads work and why it's a game changer ?
How do we use Virtual Threads with Java Futures and Completable Futures ?
What is Structured Concurrency and how to use it in Java ?
What are Scoped Values and how are they different from Thread Locals ?
What are Delimited Continuations ?
How do we do Multithreading with Virtual Threads and Structured Concurrency ?
How are Virtual Threads implemented using Continuations ?
What is the difference between Java Virtual Threads and Reactive programming (at a high level) ?
Bonus Section on Java Futures and Completable Futures as a Refresher
Join me in exploring Virtual Threads using a step-by-step and Hands-On approach to learning. By the end of the course, you will have an excellent grasp of Virtual Threads, Structured Concurrency, Thread Locals, Scoped Values and Continuations and how they can be used to write highly scalable Java applications using Spring Boot.
REMEMBER… I'm so confident that you'll love this course that we're offering a FULL money-back guarantee for 30 days! So it's a complete no-brainer, sign up today with ZERO risk and EVERYTHING to gain.
Note : Structured Concurrency classes are available in JDK as a Preview feature and is subject to change.
課程章節
- 10 個章節
- 88 堂課
- 第 1 章 Introduction
- 第 2 章 Java Threads and Scalability
- 第 3 章 Project Loom and Java Virtual Threads
- 第 4 章 Virtual Threads with Java Executor, Futures and Completable Futures
- 第 5 章 Structured Concurrency
- 第 6 章 Thread Locals and Scoped Values
- 第 7 章 Delimited Continuations
- 第 8 章 Virtual Threads and scalability with Spring Boot
- 第 9 章 Conclusion
- 第 10 章 Bonus - Java Futures and Completable Futures Tutorial
課程內容
- What are the Scalability problems of Java Platform Threads
- Hands On and Theoretical understanding of Virtual Threads
- How to write scalable Spring Boot with Virtual Threads with a Step by Step Project Implementation
- How to use the Structured Concurrency pattern in Java
- What are Scoped Values and how are they different from Thread Locals
- Hands On and Theoretical understanding of Delimited Continuations
- What is the internal Implementation of Virtual Threads
- Why Virtual Threads is a game changer for Non Blocking IO
- Advantages of Virtual Threads over Reactive frameworks
- Refresher Section on Java Futures and Completable Futures
此課程所涵蓋的技能
評價
-
VVenkata Ramana Rao Chadaram
Lecturer is excellent in explaining concepts in lucid manner. Underlying concepts and examples are good for experienced. What would help is if a near real time project can be given as excercise - that would benefit the students to apply whatever learnt in this course to implement real time.
-
PPraveen Kumar Vigrahala
good experience clear explaination of features and good examples definitiley worth the course
-
DDilakshan Muniyappan
Good
-
JJatin Suthar
Nice learning