Practical System Design

Labs / Chapter 14

17 connections, and the pools that actually open

Read the 17.3 regional average first. Then apply the planning case and compare it with four pools of 20. Take one instance down and check that the remaining pools still cover 32.4.

The system

1,440 reads a second at 12 ms is about 17.3 connections. That regional average is not the size of one instance pool.

readsacquirequery

Region

Europe

Catalog

1440 reads/s

Pool

8 each

Database

32 opened

L = λW

  1. reads/s × ms × extra %
  2. average = 17.3 connections
  3. 70 percent target = 24.7
  4. instances × connections
  5. one_instance_down =
  6. surviving = 32 connections
  1. Average17.3 connections across the region
  2. Opened32 if every instance is up
  3. Surviving32 with the instances that are up

Average demand and surviving connections

Demand is the Little's Law figure. Surviving connections are what the living instances can still open.

Average 17.3 · Surviving 32.0

The chart fills as the lab runs. connections is the vertical unit.

  • Average
  • Surviving
  • connections