All languages

JavaScript

You're viewing a free preview. Sign in free to read every script.

Why this exists Checking a few hundred endpoints one at a time is slow, but firing them all at once can exhaust sockets, trip rate limits or look like an attack. The fix is a fixed number of workers pulling from a…

A Concurrent Health Checker: Promise.allSettled with a Concurrency Limit

Check many URLs in parallel without overwhelming anything: a small worker-pool helper that limits how many requests are in flight, per-request timeouts and latency measurement, a sorted report, and an exit code for pipelines.

Sign in free to read this script, along with the rest of the library.

Sign in free