Reliable chat send

Pixel 14
HTTP/2HTTP/2Mobile users200 req/sNode API4 vCPU · 4 GBWorker
HTTP/2HTTP/2Mobile us…200 req/sNode APIWorker

Turn every goal green.

Traffic
200 req/s · writes only
Limit
Worker answers about 800 req/s
Bill
  • Node API16 USD/mo
  • Worker16 USD/mo
32 of 60 USD/mo

Goals

Not tested yet

The share of requests that fail or get no answer.Saved data that was lost later.Work that ran twice.Events that arrived in the wrong order.How long a message waits before a worker takes it.What the servers and services cost each month.

Phones send 200 chat messages/s. The API is down for 15 s at 0:20 and answers 1.6 s late for 8 s at 0:50. Delivery runs on 4 workers. Accept every send, lose and repeat none, keep each conversation in order, and hold no message over 40 s. Budget: 60 USD/month.

Parts you can add: Message broker, Kafka log. At most 4 parts. Budget: 60 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.