The Weekend Engineering Digest
November 14, 2026 · 5 min read

Six teams named the thing they used to assume

Uber writes shard ownership down instead of hashing it, Cloudflare picks a consensus protocol that slows rather than stops when the leader dies, Datadog checks its TLA+ spec against production, GitHub's October report is eight assumptions that passed validation, Velox takes 90% of Uber's eligible Presto traffic, and Meta gives the GPU warp group its own programming model.

Each post this week takes something implicit and turns it into a named, checkable object. Uber’s Shard Manager makes placement a decision stored in etcd rather than a hash-ring side effect. Cloudflare’s QuePaxa removes the one replica everyone silently waits on. Datadog’s FETCh treats a formal spec as a monitor. GitHub’s incident list is a catalogue of settings that looked fine until they did not. Uber’s Presto team inverts an allowlist into a blocklist, and Meta’s TLX gives the warp group a model of its own.


Uber makes shard ownership an inspectable decision

Cadence used Ringpop, a consistent-hashing library, to spread shards across hosts. That balances counts and knows nothing about load. Uber’s open-source Shard Manager, built in Go with gRPC and etcd, persists each assignment explicitly. Executors report per-shard load, an elected leader runs the balancer, and requests never pass through the service: clients cache the ownership map and route directly. On the Matching cluster from the original Cadence post, CPU on the hottest host fell 38%, the hottest-to-average ratio dropped from about 2.3x to 1.4x, and the same traffic runs on about 40% fewer hosts.

The balancer is greedy and deliberately slow: smoothed load, thresholds, a movement budget and a cooldown. Across 24 workload snapshots it came within 5% of a constraint solver’s optimum in 23. Quality depends on applications reporting load that reflects real work, etcd is a hard dependency, and the 38% is one cluster. The part worth copying is the split between control path and data path. source →


Cloudflare picks a consensus protocol that slows down instead of stopping

Meerkat is an experimental consensus service for Cloudflare’s internal control plane, with replicas on nearly every continent. The case against leader-based protocols opens with a 2020 incident: a partial switch failure left a consensus-backed dashboard 80x slower for six hours, writes unavailable, no data lost. Raft’s election timeout is typically five to ten round trips, so detecting a dead coordinator across continents takes around a second. QuePaxa gives proposers random priorities and keeps an optional leader that decides in one round trip while healthy.

In Meerkat, upwards of 95% of decisions finish in that first phase. When more phases are needed, throughput falls to at most a third. During a leader failure the decision rate dropped to around 65% and recovered when the leader was replaced about a minute later; the system never halted. Clients hedge by sending to every replica after a short local timeout, which costs bandwidth. The original design is crash-stop, crash recovery needs stronger evidence of correctness, and formal verification is planned, not done. No node count is given. source →


Datadog checks its TLA+ spec against production, continuously

Husky, Datadog’s event database, had a TLA+ model of placement routing that matched production when written. Husky then evolved, and a placement-logic change let conflicting placements persist for about a year. Two conflicting placements would have crashed the backfill system during recovery from placement data loss, and testing never reproduced it. FETCh transpiles the spec into Rust monitors that consume production telemetry; each spec action becomes a precondition check against incoming events, and a failure means the implementation diverged.

The design decision is scoping state. Router.tla checks how each process uses placements; PlacementStorage.tla checks globally that none overlap. A few million placements versus trillions of event IDs means only the small set is checked globally. Overhead across more than 1,300 pods was about 2% CPU and under 0.2% memory at p90. The transpiler supports a subset of TLA+ and checks only current state. Published Nov 5, a day before this issue’s window. source →


GitHub’s October: eight incidents, most of them settings that passed validation

As of Nov 9, 140 of 151 GitHub production services run in Azure Central US, which serves 52% of Git reads. Against that backdrop, October had eight incidents. The Oct 7 one is the study case: a new routing machine started with outdated records listing retired database servers, sent writes for several core databases to them, passed existing validation, and an automated task did not honor a maintenance pause. Two write outages of about 10 and 9 minutes followed, with failure rates peaking at 8.9% and 9.3%.

The rest are familiar shapes: a service that waited on timeouts, ran out of memory and failed over to a region without capacity; retries saturating links to a region; reconnects overloading the event-streaming platform; a shared connection pool at its limit with about 43% of merge attempts failing. The fixes with numbers: a NAT-gateway change cut usage 85%, peak reads from an Actions endpoint serving over 250 million requests a day fell 85%, and a three-character minimum on topic search cut slow queries about 98%. source →


Velox takes 90% of Uber’s eligible Presto traffic

Profiling put more than 90% of Presto CPU in the scan, filter and project operator, so Uber replaced the engine rather than tuning the JVM. Velox, Meta’s vectorized C++ engine, now powers roughly 90% of eligible Presto traffic, on the order of 100 petabytes a day. Over more than 40,000 queries at matched capacity, Velox used 3.73x less CPU time and 2.5x less elapsed time. In a four-day peak test the Java cluster completed 21,003 queries at 92.43% success; Velox completed 22,374 at 99.12%.

The rollout is the reusable part. An allowlist of query fingerprints that came back clean in shadow runs reached about 30%. Then the default flipped: a blocklist of fingerprints known to crash Velox took it to about 90%. The benchmark covers only Velox-eligible traffic, 50 to 60% of the total at the time. The Parquet writer lacked schema evolution and full TIME and TIMESTAMP support and wrote some tables Spark SQL could not read back. Java clusters remain a safety net, and the fork pulls upstream roughly weekly. source →


Meta gives the warp group a programming model

Triton Low-Level Extensions add explicit producer, consumer and epilogue warp groups to Triton, with mbarrier synchronization and direct access to TMA, TMEM and cluster execution. Meta calls the model Multiple Instructions, Multiple Warps: CUDA programs the thread, Triton programs the block, and Hopper and Blackwell kernels need the warp group as the unit of orchestration. TLX targets NVIDIA Hopper and Blackwell and AMD MI300 and MI350. Triton kernel count at Meta grew about 3.8x over ten months against about 2.0x for CUDA.

GEM ads training reached 20 to 25% end-to-end MFU on several thousand Blackwell GPUs, a GDPA attention kernel gives up to 2x forward speedup, a linear compression kernel gets 4x on H100, and co-designed inference models see up to a two-thirds cut in compute-intensive latency. The judgment call was to extend Triton rather than build a new language. Meta says TLX typically matches hand-tuned CUDA but gives no quantified gap and no baselines for the 2x and 4x. Auto-TLX and a torch.compile backend are future work. source →


Sources

  1. Introducing Shard Manager — Uber Engineering, Nov 11, 2026
  2. Choosing QuePaxa, an unusual consensus algorithm — Cloudflare Blog, Nov 11, 2026
  3. How we continuously validate formal specifications in production — Datadog Engineering, Nov 5, 2026
  4. GitHub availability report: October 2026 — GitHub Blog, Nov 12, 2026
  5. Velox at Uber: Rebuilding Presto’s Execution Engine for Speed and Scale — Uber Engineering, Nov 10, 2026
  6. How We Built TLX: A Hardware-Native GPU Compiler for Production ML at Scale — Engineering at Meta, Nov 10, 2026

New issue every Saturday. Subscribe via RSS, orbrowse the archive.