Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bootcamptoprod/spring-boot-virtual-threads
A simple app demonstrating how we can use virtual threads in Spring Boot application for enhanced concurrency and performance
https://github.com/bootcamptoprod/spring-boot-virtual-threads
java-virtual-threads spring-boot-3 spring-boot-virtual-threads spring-virtual-threads virtual-thread virtual-threads virtual-threads-java-21
Last synced: 4 days ago
JSON representation
A simple app demonstrating how we can use virtual threads in Spring Boot application for enhanced concurrency and performance
- Host: GitHub
- URL: https://github.com/bootcamptoprod/spring-boot-virtual-threads
- Owner: BootcampToProd
- Created: 2024-04-21T12:27:10.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-04-24T20:26:25.000Z (7 months ago)
- Last Synced: 2024-04-24T23:09:56.890Z (7 months ago)
- Topics: java-virtual-threads, spring-boot-3, spring-boot-virtual-threads, spring-virtual-threads, virtual-thread, virtual-threads, virtual-threads-java-21
- Language: Java
- Homepage: https://bootcamptoprod.com/spring-boot-virtual-threads/
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Spring Boot Virtual Threads Explained: Easy Configuration & Examples
For complete understanding of Spring Boot Virtual Threads and how we can enable it inside the Spring Boot application you can checkout our blog.
**Blog Link:** [Spring Boot Virtual Threads Explained: Easy Configuration & Examples](https://bootcamptoprod.com/spring-boot-virtual-threads/)# spring-boot-virtual-threads
A simple app demonstrating how we can use virtual threads in Spring Boot application for enhanced concurrency and performance## App Overview
This is a simple app containing three endpoints: **/hello** for basic greetings, **/hello-with-delay** to simulate response delays, and **/hello-async** for asynchronous processing.## JMeter Test Plan
To test the performance of Spring Boot application with and without virtual threads:
**1.** Enable or disable virtual threads in the application properties.
**2** Run the JMeter test plan and analyze the output in the response time graph to compare the performance under different configurations.The JMeter Test Plan is available under the resources folder.
[src > main > resources > jmeter > Spring-Boot-Virtual-Threads.jmx]## Postman Collection
Additionally, the Postman collection is available under the resources folder containing all the requests.
[src > main > resources > postman > Spring-Boot-Virtual-Threads.postman_collection.json]