9 Oct5 of 8

Your topics

Hidden topics stay in the archive and search.

13 of 13 shown

System Design Daily

2 min readFiled 9 Oct

Coverage: 8 Oct 22:09 – 9 Oct 22:09 Europe/London; context 2–8 Oct. Jane Street’s 2 Oct Kafka/DNS postmortem is already in the 4 Oct brief and is not repeated. No new public postmortem in the last 24 hours.

TL;DR: Cloudflare shipped on-demand CPU and heap flamegraphs for a live Worker or Durable Object isolate, and the Deno team is joining to turn self-hosted Workers/Durable Objects into a supported runtime rather than a single-instance demo.

Resources & articles

  • Read first: Introducing on-demand CPU and memory profiling with flamegraphs for Workers and Durable Objects (Dominik Picheta, 9 Oct 2026). How to sample a production isolate from the dashboard, cf workers versions profile, or the API without holding the isolate lock for the whole window. The post describes V8 CPU sampling at 1 ms. Docs updated 8 Oct say a heap profile records a stack every 512 kB allocated, measures allocations not retained memory, and is not a heap snapshot. Capture is 1–50 s, rate-limited, and only hits an already-loaded isolate with traffic, so startup spikes and leaks that retain rather than allocate stay invisible. Docs.
  • Data needs its DevOps moment (Danny Mican, Render, 8 Oct 2026). A Bluesky Jetstream worker rolls posts into one-minute language counts, then upserts Postgres, deployed as an ordinary background worker. A pipeline that fits in about 256 MB can share IaC, alerts, and error budgets with the API; a 32 GB JVM cluster cannot. The X post states the three rules: aggregate first, right-size with IaC, production observability. X.
  • Design a Distributed Cache (TechScreen, 6 Oct 2026). Established patterns, newly written for interviews: consistent hashing or a 16,384-slot map, async replication can lose recent writes, eviction chosen by workload, cache-aside fails stale, write-back fails lost. Not a new design.

Pattern spotlight: Aggregate before you persist a firehose. Storing every event makes the lake the bottleneck and the alert path a batch job. Use it when the product question is a rollup and the source stream can still be replayed. Tradeoff: a new question about raw events is unanswerable unless upstream (here Jetstream) is retained. Source.

News worth knowing

  • Deno is joining Cloudflare (both posts, 9 Oct). celld is one Rust binary with object storage as its only external dependency and can shard Durable Objects; workerd is the production runtime but only runs Durable Objects as a single instance today. The merge that makes self-hosting first-class is planned, not shipped. Deno runtime development ends after one year (repo stays open, bug and security fixes until then); Deno Deploy runs six more months for paying customers, with a Workers migration. Do not start a long-lived design on Deno Deploy. Actor-per-key sharding off Cloudflare is usable on celld now, with the supported path still ahead. Cloudflare · Deno.
  • Workers profiling changes how you debug an edge actor: a named Durable Object is profiled on the metal that owns that isolate, and no fresh isolate is started. Same links as the profiling post and docs above.
Up nextRL & Fine-Tuning