Invalidate

Cache 06
HTTP/2HTTP/2HTTP/2SQLHTTP/2SQLHTTP/2HTTP/2SQLHTTP/2HTTP/2SQLUsers5,000 req/sLoad balanc…2 vCPU · 1 GBPostgres1 vCPU · 2 GBAPI server0.5 vCPU · 0.5 GBLocal cacheAPI server0.5 vCPU · 0.5 GBLocal cacheAPI server0.5 vCPU · 0.5 GBLocal cacheAPI server0.5 vCPU · 0.5 GBLocal cache
HTTP/2HTTP/2HTTP/2SQLHTTP/2SQLHTTP/2SQLHTTP/2HTTP/2SQLUsersLoad ba…PostgresAPI ser…Local c…API ser…Local c…API ser…Local c…API ser…Local c…

Turn every goal green.

Traffic
5,000 req/s · 99% reads
Limit
API server answers about 1,700 req/s
Bill
  • Load balancer (L7)8 USD/mo
  • Postgres8 USD/mo
  • API server × 48 USD/mo
  • Local cache × 44 USD/mo
28 of 100 USD/mo

Goals

Not tested yet

How old the data is when a reader gets it.Reads that returned old data.99 of 100 requests finish faster than this.What the servers and services cost each month.

Four API instances keep local price caches. A write through one instance can leave the other caches stale. Add a change bus so all price updates reach every cache within one second.

Parts you can add: Managed pub/sub, Local cache. At most 16 parts. Budget: 100 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.