Bulkhead against a cascade

Guard 13
HTTP/2HTTP/2SQLUsers300 req/sUsers400 req/sNode API2 vCPU · 2 GBPostgres2 vCPU · 4 GB
HTTP/2HTTP/2SQLUsers300 req/sUsers400 req/sNode API2 vCPU · 2 GBPostgres2 vCPU · 4 GB

Fix the board. Turn every goal green.

Traffic
Checkout300 req/s · 50% readsSearch400 req/s · reads only
Limit
Node API answers about 2,000 req/s
Bill
  • Node API8 USD/mo
  • Postgres16 USD/mo
24 of 40 USD/mo

Goals

Not tested yet

99 of 100 requests finish faster than this.The share of requests that get a correct answer.The share of requests that get a correct answer.What the servers and services cost each month.

At 0:20 the locked database runs at half speed for 40 s. Checkout then times out together with search. Keep checkout p99 under 150 ms and availability at 99.9 percent, and search at 99 percent. Budget: 40 USD/month. At most 4 edits.

11:20 UTC. Checkout p99 jumps from 20 ms to 10 s. Graph: the database queue climbs while both request types wait in it.

Parts you can add: Node API, Postgres, Load balancer (L7). At most 3 parts. Budget: 40 USD/mo.

Tap a part to add it, or drag it onto a trace.Click a part to add it, or drag it onto a trace.