Pool Size Calculator

Estimate the optimal min_pool_size and max_pool_size for your workload. Results are updated live as you adjust the sliders.

200

Total simultaneous connections from your application layer

20ms

Mean time a backend connection is actively running a query

10×

How many app clients share each backend connection

4

Set to 0 in keel.ini for auto (matches CPU cores)

min_pool_size
5
per worker
max_pool_size
20
per worker
Total Backend Conns
80
workers × max_pool
Multiplexing
10×
app clients / pool
Connection Distribution
App Clients
200
Max Pool (total)
80
Min Pool (warm)
20
Generated keel.ini snippet

Configuration Builder

Step through the wizard to generate a complete keel.ini. The live preview updates on every change.

1
Protocol
2
Mode
3
Network
4
Pool
5
Backend

Select Protocol

Select Runtime Mode

Network Settings

0 = one worker per CPU core (recommended)

Pool Settings

Per worker

Per worker

Backend Servers

Server 1
keel.ini — Live Preview

Query Router Simulator

Paste any SQL query and see where Keel would route it. Simulates the smart/full mode routing logic including R/W splitting and sharding rules.

Enter a SQL query and click Analyze Routing