🎤 Build Stuff 2025: Your Must-Attend Tech Event!
🎟 Get your tickets to Build Stuff now: 👉 https://www.buildstuff.events/conf
💡 Become a Build Stuff Ambassador: 👉 https://buildstuff.events/pages/ambas...
💡 Christian Woerz dives deep into Java 21's Virtual Threads and how they represent a significant revolution in Java development. The session covers how virtual threads help to improve scalability and performance by enabling applications to handle millions of threads efficiently without running into memory issues or performance bottlenecks. Christian compares blocking APIs with reactive programming and virtual threads, demonstrating real-world examples and performance benchmarks.
📩 6 Things You’ll Learn:
1. What virtual threads are and how they improve application scalability.
2. How to implement virtual threads in a Spring Boot application.
3. The performance benefits of virtual threads over traditional blocking and reactive APIs.
4. How to efficiently handle millions of threads in Java 21 without running into memory or CPU issues.
5. The evolution from blocking to reactive to virtual threads in modern Java development.
6. Key concepts behind Project Loom and how it simplifies concurrency in Java applications.
⏰
00:00 Introduction – Christian introduces himself and discusses Java 21's new features.
03:00 Understanding Blocking APIs – Demonstrating a Spring Boot application using blocking APIs.
07:00 Performance Testing with Blocking APIs – Using JMeter to test the performance of blocking APIs with concurrent requests.
12:00 The Reactive Approach – Moving from blocking to reactive programming in Java.
17:00 Virtual Threads Explained – An introduction to virtual threads and their advantages.
22:00 Implementing Virtual Threads – Converting the Spring Boot application to use virtual threads.
27:00 Performance Benchmarking with Virtual Threads – Performance comparison using JMeter after switching to virtual threads.
32:00 Structured Task Scopes – Using structured task scopes for efficient concurrent execution with virtual threads.
35:00 Conclusion and Future Outlook – Wrap-up of virtual threads and the future of concurrency in Java.
🔥 Join the Build Stuff Community!
🌍 Get your tickets: 👉 https://www.buildstuff.events/conf
💡 Become an Ambassador: 👉 https://buildstuff.events/pages/ambas...
📢 Follow Build Stuff for Updates!
🔵 Facebook: / buildstuffconf
🐦 X: / buildstuffconf
🔗 LinkedIn: / build-stuff
📺 YouTube: / buildstuff
📷 Instagram: https://www.instagram.com/buildstuffc...
🎵 TikTok: / buildstuffconf
📩 Contact Us: [email protected]
📢 Join the conversation & share your thoughts using #BuildStuffConf
#Java21 #VirtualThreads #ProjectLoom #Concurrency #SpringBoot #BuildStuffConf #BuildStuff2025 #Java #JavaDevelopment #APIs #reactiveprogramming #CPU #Development #MemoryIssues #Programming