This is a simple Node.js application built with Express, MySQL, and Connection Pooling.
It includes support for database migrations and seeders to help initialize and populate your database.
🔍 This project demonstrates the performance difference between:
- Using a single (non-pooled) database connection
- Using connection pooling
You can run 1000+ concurrent requests to both endpoints and compare the total response time.
The results clearly show how Connection Pooling can significantly improve performance in high-load scenarios.
- Node.js v18+
- MySQL Server
.envfile with app and database configuration
- edit .env file in root path of project
- node migrate.js
- node seed.js