‹ All demos
LiveSystem design · Performance

Capacity planner

Enter your traffic and latency. Get how many requests are in flight, and whether your database pool can take it.

How it works

  1. 1Little’s Law: requests in flight = requests per second × seconds per request.
  2. 2That one number sizes your connection pools, threads and memory. When latency goes up, it goes up with it.
  3. 3A database runs best with a small pool — roughly twice its CPU cores, across all your servers combined.

Read the post: Your API is slow because of the database