Database query fan-out calculator

Every incoming request produces the same fan-out.

Your inputs

Use the units shown.

Logical downstream calls
4,000
Expected uncached calls
3,000
Expected actual attempts
3,600
Attempts per incoming request
3.6

Your calculation
How is this calculated?

Incoming requests × calls per request.

Logical calls × (1−cache hit percentage/100).

Uncached calls × mean attempts.

Fan-out × uncached fraction × mean attempts; valid even when incoming volume is zero.

Every incoming request produces the same fan-out. Cache hits avoid a downstream call; retries multiply only uncached calls. The supplied mean attempts includes the first attempt. This is expected workload, not a dependency-graph simulation.

OpenStax: percentages and proportions ↗

Try an example

Worked example

Logical downstream calls: 4,000

Inputs
  • Incoming requests: 1000
  • Downstream calls per request: 4
  • Downstream cache hit rate (%): 25
  • Mean attempts per uncached call: 1.2

Compare inputs

Logical downstream calls: 600

Inputs
  • Incoming requests: 200
  • Downstream calls per request: 3
  • Downstream cache hit rate (%): 0
  • Mean attempts per uncached call: 2
Share this page
Share this calculator

Leave unchecked to share the page without your entered values.