JavaScript budget

Pixel 02
HTTP/2Mobile users20 req/sNode API8 vCPU · 8 GB
HTTP/2Mobile users20 req/sNode API8 vCPU · 8 GB

Tune the parts. Turn every goal green.

Traffic
20 req/s · reads only
Limit
Node API answers about 8,000 req/s
Bill
  • Node API32 USD/mo
32 of 200 USD/mo

Goals

Not tested yet

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

Phones on 4G at 9 Mbps open the shop app. The web server sends 1.5 MB of JavaScript, and a mid phone needs 1 s to parse and run each MB. The page is ready after 2.9 s at p99. Get it under 1.5 s. Tune only the payload factor and the compression level.

A page waits for its slowest callDrag or use arrow keys to change the calls per page

Calls per page: 20 · 18% of pages wait 2.0 s