N+1 at the gateway
Wire 22Fix the board. Turn every goal green.
- Traffic
- 200 req/s · reads only
- Limit
- App backend answers about 3,300 req/s
- Bill
- App backend4 USD/mo
- API server4 USD/mo
8 of 100 USD/mo
Goals
Not tested yet
Each GraphQL query resolves 50 records through separate calls. The API receives 200 queries/s. Fix the resolver with at most three edits. Keep p99 below 180 ms.
0:00. Gateway p99 is above 180 ms. Graph: catalog calls run at 50 per query, and catalog CPU is at its limit.
Calls per page: 20 · 18% of pages wait 2.0 s
Parts you can add: App backend. 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.