{{title}}

{{##}} / {{total}}

Quarterly metrics review

Platform health, third quarter

Reliability, usage and cost across every region we run in

{{author}}

{{title}}

{{##}} / {{total}}

Agenda

01

Reliability and incidents

02

Usage and growth

03

Latency by region

04

Cost per request

05

Next quarter

{{title}}

{{##}} / {{total}}

02

Usage and growth

{{title}}

{{##}} / {{total}}

Error rates fell by half while traffic doubled, the best quarter for reliability we have measured.

Most of the gain came from the new connection pooling layer.

{{title}}

{{##}} / {{total}}

What changed this quarter

  • Moved the last two regions onto the new load balancers
  • Cut cold-start time for workers from 4.1s to 0.9s
  • Retired the legacy queue and its three on-call alerts
  • Added per-tenant rate limits to the public API

Note

All figures are for production traffic only. Staging and internal tools are excluded.

{{title}}

{{##}} / {{total}}

Every headline number moved the right way

Uptime

99.98%

+0.04 pts vs last quarter

Requests

4.2B

+96% vs last quarter

p95 latency

182ms

−31ms vs last quarter

Incidents

3

−5 vs last quarter

Traffic nearly doubled after the mobile launch. Latency still fell, because most new requests hit the cache.

{{title}}

{{##}} / {{total}}

Cache hits now serve most traffic

83%

of requests never reach a database

Up from 54% a year ago. Each point of hit rate saves about $9k a month in database capacity.

{{title}}

{{##}} / {{total}}

Requests doubled after the mobile launch

Requests per week, millions

Takeaway

API traffic grew 136% in a quarter. Web grew 44%. The jump in week 6 is the mobile release.

{{title}}

{{##}} / {{total}}

Uptime

99.98%

+0.04 pts

p95 latency

182ms

−31ms

Cost per 1M req

$0.42

−18%

Requests per day, millions

Traffic by region

{{title}}

{{##}} / {{total}}

Faster everywhere, and fewer errors

p95 latency by region, ms

Error rate, % of requests

{{title}}

{{##}} / {{total}}

The new runtime wins on four of five measures

Benchmark score, higher is better

Takeaway

Tooling is the one gap. The debugger and profiler arrive next quarter.

{{title}}

{{##}} / {{total}}

Five endpoints cause most of the slow requests

Share of requests over 1s, %

Takeaway

Search alone is almost a third. An index rebuild is planned for next month.

{{title}}

{{##}} / {{total}}

Search and export need the most attention

ServiceRequestsp95ErrorsUptime
api-gateway2.1B96ms0.08%99.99%
search640M410ms0.31%99.95%
auth520M41ms0.02%99.99%
sync380M220ms0.12%99.97%
export42M1.8s0.44%99.90%
billing9M130ms0.05%99.99%

{{title}}

{{##}} / {{total}}

Why we are moving search to its own cluster

Search shares a database with sync, so a heavy export can slow every search for minutes at a time.

A separate cluster costs about $4k a month and removes the noisiest dependency we have left.

Decision

Approve the cluster this sprint and migrate before the holiday freeze.

{{title}}

{{##}} / {{total}}

Search p95 fell by three quarters

Before

410ms

  • Shared database with sync
  • Full reindex every night
  • Timeouts during exports

After

96ms

  • Dedicated search cluster
  • Incremental indexing
  • No export contention

{{title}}

{{##}} / {{total}}

Cost per request fell in every region

Cost per 1M requests, $

Monthly bill

RegionCostChange
US East$41k−21%
US West$18k−20%
EU$29k−23%
APAC$12k−22%

{{title}}

{{##}} / {{total}}

Release log for the quarter

Jul 04

Load balancer swap

US East and EU moved with no downtime

Aug 12

Queue retired

Three on-call alerts removed

Sep 02

Mobile launch

Traffic up 40% in a week

Sep 19

Rate limits

Per-tenant limits on the public API

Next

Search cluster

Planned before the freeze

{{title}}

{{##}} / {{total}}

p95 latency stayed under budget all quarter

p95 latency per day, ms

{{title}}

{{##}} / {{total}}

The query behind the slow-request report

slow_requests.sql

-- share of requests slower than one second
SELECT endpoint,
       avg((duration_ms > 1000)::int) * 100 AS share,
       count(*) AS requests
FROM requests
WHERE ts > now() - interval '90 days'
GROUP BY endpoint
ORDER BY share DESC
LIMIT 7;

Notes

Runs against the analytics replica. The same query feeds the ranking chart on slide 12.

{{title}}

{{##}} / {{total}}

“

We stopped getting paged at night. That is the metric the whole team noticed first.

Lead site reliability engineer

{{title}}

{{##}} / {{total}}

Questions?

status.company.example