The Weekend Engineering Digest
October 17, 2026 · 5 min read

This week's posts move the work to the place that can afford it

Cloudflare defers two and a half years of hardware by sampling at the forwarder, Uber keeps 1% of its translations in memory at a 99.9% hit ratio, LinkedIn moves Spark shuffle off compute nodes and cuts fetch failures from about 750 a day to 20, Meta serves 30 million WhatsApp messages a second with no deployment freeze, and Zalando reaches 85% acceptance on column mappings by letting approved history outvote the model.

Each post this week relocates a piece of work instead of making it faster in place. Cloudflare samples at the forwarder. Uber keeps keys in memory and values on disk. LinkedIn moves shuffle off the compute nodes, Meta sizes each region on its own because the peak cannot be shifted, and Zalando wraps a model in retrieval and validation so the model does less of the deciding.


Cloudflare defers two and a half years of hardware by moving sampling to the source

Cloudflare’s data pipeline carried about 2 billion events per second in May 2026, and traffic grows exponentially while hardware is bought linearly. Splitting one firehose schema into per-product schemas cut backbone bandwidth 35 to 40%. Moving from LZ4 to zstd cut compressed throughput nearly 40% with no measurable CPU cost. A shared ingest pool replaced double-writing every event to two regions, removing about 43 GB/s of transit and adding 7 GB/s of late replication. Sampling at the forwarder, with sample size equal to the square root of each key’s count, halved the three largest datasets, about 25 GB/s. Rollups at every stage cut the HTTP aggregate dataset from over 9 GB/s to under 2.

The honest figure sits in the middle. Load balancing took one dataset from 26 GB/s to 13, and two months later growth had it back at 20. Sampling is approximate, aggregation only answers questions chosen in advance, and the combined work put throughput about eight months behind its projection.

source →


Uber keeps 1% of its translations in memory and still hits 99.9%

Uber serves millions of translations per second from memory in Go. Over 20% of one service’s CPU went to garbage collection, and about 70% of its objects came from translations, because a sync.Map created about four objects per entry across more than 2 million entries. Swapping to a plain map behind an RWMutex cut CPU over 30%. Memory stayed high, and a refresh that builds a second copy before swapping doubled it for up to a minute and crashed some services. The replacement keeps every key in memory as a 6-byte hash across 256 shards, 11 bytes per entry, and stores values on disk with a time-based LRU for a small hot set.

Startup memory fell from about 800 MB to about 40 MB and RSS from roughly 2.7 GB to 750 MB, with about 1% of entries in memory and a hit ratio above 99.9%. Disk misses see a p99 near 0.05 ms. Six- byte keys expect about 0.18 collisions per 10 million keys, handled by a slower fallback, and offsets cap each shard at 128 MB.

source →


LinkedIn moves shuffle off the compute nodes and cuts fetch failures from 750 a day to 20

Spark runs more than 300,000 jobs a day at LinkedIn, about 200 petabyte-hours of compute. Magnet, LinkedIn’s push-based shuffle that landed in Spark 3.2, still kept shuffle data on the producing node’s disks, so node failures forced stage recomputation and 10 to 15% of executor runtime sat idle waiting on shuffle. Apache Celeborn moves that data to dedicated workers. LinkedIn added a five-node Raft master across availability zones, zone-aware replica placement, slot selection fed by its host health platform, NVMe disks, 100 Gbps NICs and zstd.

Relative to Magnet, fetch failures fell from about 750 to about 20 a day, task failures dropped 20x, shuffle duration fell 40%, zstd shrank the shuffle fleet about 35%, and application runtime fell about 14%. Shuffle becomes a tier with its own capacity and quotas, and the post says both “the majority” of workloads and “fully rolled out”. The Flink figures have no baseline.

source →


Meta plans for a peak it cannot shift and ships through it anyway

WhatsApp passed 30 million messages per second during the World Cup final, 1.23 times the New Year’s Eve peak, and delivered nearly 8.4 billion messages in its busiest five minutes. Traffic rose 46% in about four minutes at the end of regular time, and the spikes tracked breaks rather than play. Two choices carry the post. Meta normally absorbs a regional peak by shifting load to idle capacity elsewhere, but every region peaked at once, so each region was forecast on its own instead of from a global multiplier. And Meta skipped its usual deployment freeze and kept shipping through 39 consecutive days of spikes.

Instagram’s levers were pre-provisioned buffers at every serving tier, the post’s most effective lever, country-level degradation in five high-risk countries, and cascade prevention between serving and data systems. No latency, error rate or buffer size is published, so the no-freeze claim rests on the authors’ word.

source →


Zalando lets a model suggest column mappings and lets history outvote it

Zalando maps supplier spreadsheets, 10 to 60 columns a sheet with multilingual headers, onto an internal schema of more than 55 columns. Regex and edit-distance matching could not keep up. The replacement embeds each column name, inferred type and up to five sample values into pgvector, retrieves up to three approved mappings above 0.8 cosine similarity ranked by approval count, and hands them to the model at temperature 0 with tool use that forces a fixed output shape. A validation layer rejects unknown columns and missing coverage before anything reaches a user, and specialists approve every suggestion, which feeds the next retrieval.

Acceptance without edits is 85% and rising as the index grows. The post is careful about what that means. It is a live operational rate, not accuracy on a labeled set, and tool use shapes the response without checking that it is right. When the model is down the system falls back to approved mappings only. Copy the pattern wherever a model keeps relearning the same answer.

source →


Sources

  1. Rewinding the exponential: How we keep hardware usage down — Cloudflare Blog, Oct 13, 2026
  2. Translations at Scale: Memory Optimization Techniques That Kept Uber’s P99 Under 1ms — Uber Engineering, Oct 15, 2026
  3. Scaling Spark and Flink Shuffle at LinkedIn with Apache Celeborn — LinkedIn Engineering, Oct 14, 2026
  4. 2026 World Cup: Breaking Records, Spiky Charts and Reliability at Scale — Engineering at Meta, Oct 15, 2026
  5. Automating Data Ingestion with a RAG Flywheel — Zalando Engineering Blog, Oct 12, 2026

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