Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Google Research 5 min read Research easyNovice

The power of collaboration: How we can reduce traffic congestion

Modifying Google Maps routing to steer trips away from about 100 pre-selected recurring bottleneck segments per city, toward alternatives with similar travel times, measurably improved city-wide traffic in a six-month experiment across 10 US cities. Fewer than 2% of trips were rerouted, using a city-wide switchback design that alternated treatment and control days, with results estimated by a hierarchical Bayesian model. Targeted segments saw a median ~2% speed increase and 0.5–1.0% lower fuel consumption. All affected segments gained ~0.35% in speed (0.5% at peak hours), with traffic dispersed onto peripheral roads, which the authors project as thousands of tons of CO2e saved per city per year.

Assumes: A/B testing basicsBayesian statistics basics

Related posts

  • Refreshing the Travel-Time Map Behind Lyft’s Marketplace: Rebuilding Neighborhood Reachability…

    Lyft Engineering mediumAdept

    Lyft rebuilt its Neighborhood Reachability Signals, precomputed geohash-6 travel-time matrices that define the graph its pricing engine optimizes over. Much of the data dated from 2018–2019, underestimated ETAs and dropped matchable pairs. The redesign filters cells against drivable geohashes derived from road-segment interpolation, which removes cells over water. It also uses gentler session-based pruning, with new regions starting from the full drivable set, and adds consumer-facing fields such as rider-session density, so teams no longer need their own allowlists and denylists. ETAs blend historical trips with routing simulation for sparse pairs. A two-week time-split pricing test showed fewer phantom nearby drivers and more genuine medium-range matches. Next steps are a six-month refresh cadence and nine time-of-week ETA files per region, prefetched to keep read latency flat at the cost of extra memory.

  • How Mux Routed Around a Major Network Outage | Mux

    Mux mediumAdept

    During the June 24 Verizon BGP route leak (AS701), Mux Video's dynamic CDN selection, built on Citrix ITM and Radar RTT data, automatically shifted affected viewers from Fastly to Stackpath/Highwinds. Fastly RTT on AS701 jumped from 11ms to 80ms while Highwinds rose only from 12ms to 26ms, which overrode a cost-based handicap favoring Fastly. The cutover was limited to the impacted ASNs and geographies, and because Highwinds still pulled through the Fastly origin shield, origin egress did not increase.

  • How we migrated a live routing system using AI-assisted refactoring

    Datadog Engineering mediumAdept

    Datadog migrated Stream Router, the control plane that tells metrics producers and queriers which Kafka cluster, topic and partitions to use, from a FoundationDB key-value model to a relational schema. PostgreSQL backs the write path and DuckDB the in-memory read path. The KV model forced the app to rebuild relationships in-process and hit transaction size limits, and simply swapping in Postgres with the same access patterns was estimated at 45 minutes for the heaviest operations. The team designed the schema by hand, then used Claude and Cursor in a tightly scoped, test-driven loop: map the intent of the old code into markdown docs, stub one Controller method, feed in the failing end-to-end tests, and iterate until they pass. A blue/green validator compared live responses every 30 seconds for weeks before cutover. The models produced correct but suboptimal SQL, so batching, UNNEST and CTE optimizations needed human input, and broad prompts performed poorly. The project went from design to production in about 3 months.

  • Building the Next Evolution of Cloud Networks at Slack – A Retrospective

    Slack Engineering mediumAdept

    A year after launching Whitecastle, its AWS network redesign built on Transit Gateway, Slack found that proxy environment variables (http_proxy/no_proxy) were the biggest migration drag. Languages honor them inconsistently: Java ignores them, and CIDR support differs between Ruby, Go and Python. Partial migrations pushed huge, bursty traffic through Transit Gateway, which required CloudWatch attachment-level monitoring and help from AWS to scale. The team replaced VPC peering with Transit Gateway without downtime by adding a less-specific 10.0.0.0/8 route before deleting the peering routes. Later improvements included multiple workload VPCs per region, cross-account private Route53 zone associations, a self-discovering network tester backed by DynamoDB, and a Slack bot for looking up network details.

  • Next level customer experience with HTTP/3 traffic engineering

    Zalando Engineering mediumAdept

    HTTP/3 over QUIC addresses TCP-era protocol inefficiencies: head-of-line blocking, multi-round-trip handshakes (5-6 for cold HTTP/2 vs 3 for HTTP/3), layered TLS overhead, kernel-bound congestion control and lack of connection migration. Open problems remain, including UDP datagram loss still causing blocking, higher memory and kernel-to-user copy costs, ISP and middlebox policies tuned for TCP, unsettled congestion control (NewReno, CUBIC, BBR), and the 1280-byte minimum MTU. On 5G mid-band radio networks, only BBR handles noise-, blockage- and handover-induced loss well. Zalando has adopted HTTP/3 for distributing all media content, relying on CloudFront edge locations, Apple's native iOS stack and Cronet on Android.

The quest for software engineering knowledge.

Look:
Layout: