Skip to content

erayaraz/VirtualThread-SpringBoot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

VirtualThread-SpringBoot

I tested the virtual threads introduced with Java 21 in this project. I conducted tests with 10,000 users using Apache Benchmark on my own computer. Below are the results.

image

image

Test

ab -c 10000 -n 10000 http://localhost:8080/virtual/thread/delay/service?second=3

Virtual Thread Not Enabled

Screenshot_5

Screenshot_6

Because it doesn't have an available thread to give me, I cannot access the URL at the moment. It is keeping me waiting.

Screenshot_4

JConsole

You can open JConsole as follows:

image

image

Virtual Thread Enabled

Screenshot_7

Screenshot_8 Screenshot_10

About

Spring Boot Virtual Thread Test App

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages