Okładka książki
Książka po angielsku
Why Is My API Slow?
Opis książki
The dashboard looks fine. Your customers say the API is slow. Which layer do you investigate first?When latency rises, it is tempting to add a cache, change an index, or scale the servers. But a fix made before you find the bottleneck can hide the real problem. Why Is My API Slow? gives backend engineers and on-call teams an evidence-first way to trace a slow request, isolate the cause, and verify the result.Inside, you will learn to: - Separate client-side delays such as DNS, TLS, CDN behavior, and response size from time spent inside your API.- Use traces and flame graphs to find hot paths, blocking calls, and N+1 query patterns.- Read database query plans, choose useful indexes, and diagnose connection-pool waits, locks, and contention.- Investigate slow external dependencies, timeouts, retry storms, and circuit breakers.- Decide when caching helps - and when it only conceals a slow miss path.- Build meaningful load tests, watch p95/p99 latency, and create alerts that catch recurring problems.Follow a running Orders API example from the first complaint through measurement, diagnosis, and verification. Chapter checklists, tool references for Node, Python, Java, Go, and Ruby, an incident runbook, and a printable triage sheet give you a repeatable process to use when the next alert arrives.Stop guessing at fixes. Find the slow layer, change the right thing, and test whether the improvement holds.
- ISBN-13
- 9798177630588
- Język
- Angielski
- Waga
- 236 g
- Oprawa
- Miękka
- Wydawnictwo
- Independently published
- Liczba stron
- 92
- Rok wydania
- 2026
- Kategoria
- Nieprzypisana
Termin wysyłki jest obecnie niedostępny.
Wszystkie podane terminy wysyłki liczymy w dniach roboczych.