Virtual Threads of Java 21 in Spring 3.1 Web Application - Performance test killed my video...

  Рет қаралды 2,129

Agile Coding mit Elmar Brauch

Agile Coding mit Elmar Brauch

Күн бұрын

Пікірлер: 3
@ILyaCyclone
@ILyaCyclone 9 ай бұрын
You have switched threads to virtual, but you haven't added any number of threads to the pool. Each request would still take ~2 seconds and the number of threads working in parallel is the same. Why the speed difference?
@elmarbrauch
@elmarbrauch 9 ай бұрын
The number of kernel threads is still the same. But by using virtual threads you can create an "infinite" number of virtual threads, which are carried by the kernel threads. So the difference is, that I could start all virtual threads very early, because there is no limitation.
Java 21 most important features: Pattern Matching for switch & Sequenced Collections
11:00
How it feels when u walk through first class
00:52
Adam W
Рет қаралды 23 МЛН
Бенчик, пора купаться! 🛁 #бенчик #арти #симбочка
00:34
Симбочка Пимпочка
Рет қаралды 3,4 МЛН
Good teacher wows kids with practical examples #shorts
00:32
I migliori trucchetti di Fabiosa
Рет қаралды 13 МЛН
Virtual Threads in Java 21
17:22
Will Tollefson
Рет қаралды 4,9 М.
Java 21 new feature: Virtual Threads #RoadTo21
33:35
Java
Рет қаралды 65 М.
[VDBUH2024] - Josh Long - Bootiful Spring Boot 3.x
58:10
The ONLY REASON To Unit Test
8:26
Theo - t3․gg
Рет қаралды 81 М.
40 Years Of Software Engineering Experience In 19 Minutes
19:10
Continuous Delivery
Рет қаралды 90 М.
Performance Tuning of Web Applications and REST Services: My best strategies and tricks.
18:22
Process MILLIONS of Records with Virtual Thread in Spring Boot (2024)
27:52
Java 21 JVM & GC Improvements #RoadTo21
12:09
Java
Рет қаралды 17 М.
How it feels when u walk through first class
00:52
Adam W
Рет қаралды 23 МЛН