Sprint Demo · October 5 – October 16

TechOps

Data pipelines · Kafka

Trip storage writes twice as fast, off decade-old Kafka

Every production stream left the Kafka 0.10 cluster we ran ourselves on EC2, a 2016 release line, for Amazon MSK on Kafka 3.9.

  • storage writes are twice as fast: about 40 ms down to 20 ms a request.
  • storage no longer slows pservs's nightly scrape: p95 829 → 71 ms.
  • All 12 warehouse pipelines moved, plus the user events behind Blueshift.
  • Up next: shut down the old brokers.
No data lost or duplicated Every affected Snowflake table was checked after each switch, with zero rejected records.
Datadog APM average time per request for storage on October 15, 09:00 to 15:00 ET, stacked by downstream service: about 35 to 45 ms until about 11:50, then about 15 to 20 ms. storage p95 latency by version, October 14 to 16: a 1.02 s spike around 19:00 on the 14th on the old version, then a lower, flatter line from about 12:00 on the 15th on the version that writes to MSK.

Cost · Snowflake

Snowflake compute down about $1,200 a month

Compute was 78% of September's $5,810 Snowflake bill, against the $4,167 our contract covers. The three warehouses that use most of it averaged 79.5 credits a day in September and now run at 57.2, leaving us about $500 a month above contract.

Daily Snowflake credits by warehouse, September 1 – October 15, 2026 ETL_WH 45.03 credits on September 1, 26.60 on October 15. ACQ__COMPUTE 24.23 to 25.05. Amplitude 10.80 to 5.43. ETL ACQ Amplitude 0 10 20 30 40 50 Sep 1 Sep 15 Oct 1 Oct 15 ETL file listing Amplitude downsized ETL schedules ACQ tables ETL, Sep 1: 45.0 credits ETL, Sep 2: 45.6 credits ETL, Sep 3: 44.0 credits ETL, Sep 4: 43.9 credits ETL, Sep 5: 40.9 credits ETL, Sep 6: 41.3 credits ETL, Sep 7: 43.0 credits ETL, Sep 8: 44.0 credits ETL, Sep 9: 44.0 credits ETL, Sep 10: 43.8 credits ETL, Sep 11: 44.4 credits ETL, Sep 12: 41.2 credits ETL, Sep 13: 40.6 credits ETL, Sep 14: 43.7 credits ETL, Sep 15: 43.5 credits ETL, Sep 16: 43.9 credits ETL, Sep 17: 44.5 credits ETL, Sep 18: 43.5 credits ETL, Sep 19: 40.8 credits ETL, Sep 20: 39.8 credits ETL, Sep 21: 42.5 credits ETL, Sep 22: 44.9 credits ETL, Sep 23: 43.8 credits ETL, Sep 24: 45.2 credits ETL, Sep 25: 43.7 credits ETL, Sep 26: 40.6 credits ETL, Sep 27: 40.7 credits ETL, Sep 28: 42.9 credits ETL, Sep 29: 44.2 credits ETL, Sep 30: 44.1 credits ETL, Oct 1: 44.3 credits ETL, Oct 2: 41.5 credits ETL, Oct 3: 30.5 credits ETL, Oct 4: 30.7 credits ETL, Oct 5: 33.9 credits ETL, Oct 6: 31.4 credits ETL, Oct 7: 39.1 credits ETL, Oct 8: 41.9 credits ETL, Oct 9: 24.8 credits ETL, Oct 10: 24.4 credits ETL, Oct 11: 24.7 credits ETL, Oct 12: 26.2 credits ETL, Oct 13: 26.8 credits ETL, Oct 14: 26.6 credits ETL, Oct 15: 26.6 credits ACQ, Sep 1: 24.2 credits ACQ, Sep 2: 25.1 credits ACQ, Sep 3: 23.9 credits ACQ, Sep 4: 24.1 credits ACQ, Sep 5: 23.2 credits ACQ, Sep 6: 22.7 credits ACQ, Sep 7: 23.6 credits ACQ, Sep 8: 24.7 credits ACQ, Sep 9: 23.6 credits ACQ, Sep 10: 25.4 credits ACQ, Sep 11: 25.5 credits ACQ, Sep 12: 24.1 credits ACQ, Sep 13: 24.1 credits ACQ, Sep 14: 28.0 credits ACQ, Sep 15: 24.8 credits ACQ, Sep 16: 26.1 credits ACQ, Sep 17: 27.3 credits ACQ, Sep 18: 25.6 credits ACQ, Sep 19: 25.1 credits ACQ, Sep 20: 24.8 credits ACQ, Sep 21: 25.9 credits ACQ, Sep 22: 27.1 credits ACQ, Sep 23: 26.8 credits ACQ, Sep 24: 26.1 credits ACQ, Sep 25: 25.9 credits ACQ, Sep 26: 24.8 credits ACQ, Sep 27: 24.6 credits ACQ, Sep 28: 27.7 credits ACQ, Sep 29: 32.2 credits ACQ, Sep 30: 32.9 credits ACQ, Oct 1: 34.6 credits ACQ, Oct 2: 32.8 credits ACQ, Oct 3: 31.3 credits ACQ, Oct 4: 31.6 credits ACQ, Oct 5: 32.3 credits ACQ, Oct 6: 33.1 credits ACQ, Oct 7: 33.4 credits ACQ, Oct 8: 31.8 credits ACQ, Oct 9: 31.9 credits ACQ, Oct 10: 35.4 credits ACQ, Oct 11: 36.1 credits ACQ, Oct 12: 37.1 credits ACQ, Oct 13: 34.4 credits ACQ, Oct 14: 25.3 credits ACQ, Oct 15: 25.1 credits Amplitude, Sep 1: 10.8 credits Amplitude, Sep 2: 11.2 credits Amplitude, Sep 3: 11.2 credits Amplitude, Sep 4: 10.9 credits Amplitude, Sep 5: 11.0 credits Amplitude, Sep 6: 10.6 credits Amplitude, Sep 7: 10.9 credits Amplitude, Sep 8: 10.9 credits Amplitude, Sep 9: 10.8 credits Amplitude, Sep 10: 11.1 credits Amplitude, Sep 11: 10.7 credits Amplitude, Sep 12: 10.7 credits Amplitude, Sep 13: 10.9 credits Amplitude, Sep 14: 10.9 credits Amplitude, Sep 15: 10.6 credits Amplitude, Sep 16: 10.6 credits Amplitude, Sep 17: 11.0 credits Amplitude, Sep 18: 10.7 credits Amplitude, Sep 19: 10.9 credits Amplitude, Sep 20: 10.6 credits Amplitude, Sep 21: 10.9 credits Amplitude, Sep 22: 11.1 credits Amplitude, Sep 23: 7.0 credits Amplitude, Sep 24: 10.9 credits Amplitude, Sep 25: 11.2 credits Amplitude, Sep 26: 11.1 credits Amplitude, Sep 27: 10.7 credits Amplitude, Sep 28: 10.9 credits Amplitude, Sep 29: 10.5 credits Amplitude, Sep 30: 10.8 credits Amplitude, Oct 1: 10.9 credits Amplitude, Oct 2: 11.2 credits Amplitude, Oct 3: 10.8 credits Amplitude, Oct 4: 10.6 credits Amplitude, Oct 5: 9.7 credits Amplitude, Oct 6: 5.4 credits Amplitude, Oct 7: 5.5 credits Amplitude, Oct 8: 5.4 credits Amplitude, Oct 9: 4.6 credits Amplitude, Oct 10: 5.4 credits Amplitude, Oct 11: 5.6 credits Amplitude, Oct 12: 5.5 credits Amplitude, Oct 13: 5.4 credits Amplitude, Oct 14: 5.5 credits Amplitude, Oct 15: 5.4 credits ETL 26.6 ACQ 25.1 Amplitude 5.4

Daily credits for the three warehouses, September 1 – October 15. Dashed lines mark each change.

  • ETL −38%Hourly loads read only the day's folder, not all 20.9 million files, and share three windows an hour
  • Amplitude −49%Export warehouse downsized
  • ACQ 25Back to September's level once it built tables instead of views on October 14
  • 649 s → 3 sThe hourly Google Ads conversion export, now that it reads tables

Infrastructure · Legacy retirement

Legacy MongoDB is retired

The last apps still using our self-run MongoDB moved to DocumentDB, and the EC2 servers that ran it were shut down, with final copies saved to S3.

7 EC2 MongoDB servers shut down: three in production, two each in pilot and dev
No more unpatched databases They ran MongoDB 3.6, which stopped getting security fixes in 2021, on an operating system that reached end of life in 2023. DocumentDB is patched by AWS.
  • Oct 5The route service is on the new Mongo driver and reads cached trips from DocumentDB in every environment
  • Oct 7storage writes only to DocumentDB. The copy it had also been writing to the old cluster since July is switched off
  • Oct 7cortex's importer writes DocumentDB directly, every hour, from GitHub Actions
  • Oct 8The last connection string for the old cluster is gone from shared config

Search · Multi-leg routes

Multi-leg routes are current for the first time since February 2025

Multi-leg routes are the connecting trips search offers when no single carrier goes the whole way. As of today, production search uses routes rebuilt every week from supply DocumentDB.

4,100 of our 42,900 active stations were added after the old multi-leg routes were built. Now they can be stops on connecting trips
  • LiveProduction, pilot and dev search serve the rebuilt multi-leg routes
  • WeeklyThe rebuild now runs every week, so new stations join multi-leg routes within a week
  • Up nextRetire the old route databases

Across the stack

Smaller wins

  • All three Kubernetes clusters on 1.35 and Karpenter 1.14: dev and pilot now match prod.
  • Production stopped running out of pod IP addresses. Each node now keeps two spare addresses instead of a whole spare network interface, which had tied up about 110 idle addresses in the busiest subnet.
  • Kubernetes DNS lookups stay in their own availability zone when they can, the follow-up to the October 9 DNS incident.