Featured
rate-proxy ↗
An HTTP reverse proxy with concurrency control. Uses Pool.js Scheduler to limit concurrent requests to upstream servers, preventing overload.
01
Build a Rate-limited API Proxy
Use Scheduler to limit upstream requests to a fixed concurrency. When the limit is reached, new requests queue and wait without overwhelming the target service.
Create resource pool and scheduler
Proxy requests
02
Database Connection Pool
Use acquire() + using to implement automatic connection release, avoiding connection leaks.
Create connection pool
03
Web Scraping Rate Control
Use CoolDown callback to control request frequency, avoiding being banned by target websites.
Configure cooldown strategy
Batch fetching
Get Started with Pool.js
Start from the docs and quickly build your first project