This project demonstrates a Spring Boot application with MongoDB integration, focusing on multithreading and concurrency.
- Java 21
- Spring Boot
- MongoDB
- Maven
- JMeter
-
Clone the repository:
gh repo clone dwididit/springboot-mongodb-multithreading-concurrency cd springboot-mongodb-multithreading-concurrency/ -
Build the project:
mvn clean install
-
Run the application:
mvn spring-boot:run
The application uses a custom thread pool configuration for asynchronous task execution:
- Core Pool Size: 8
- Max Pool Size: 16
- Queue Capacity: 1000
To run the tests, use the following command:
mvn test