AlgoViz

Cloudflare Workers

medium 30 min

Cloudflare Workers runs small programs in Cloudflare's data centres around the world, close to the user.

Where it shows up

The same pattern appears across everyday software.

  • Cloudflare's own products

    The report on the June 2025 outage lists products that depend on Workers KV, among them Access, Gateway, Images, Stream and Turnstile.

  • Token checks at the edge

    A Worker verifies a signed token and refuses a bad request before it crosses an ocean.

  • A/B tests without flicker

    The version is chosen before the page is sent, so the browser never shows one page and then another.

  • Live rooms

    One Durable Object per room holds the WebSocket connections and the order of messages.

  • Flags and settings

    KV serves them from a local copy in each location. The price is a change that may take a minute to be seen.

  • The runtime elsewhere

    workerd, the runtime, is open source. It runs on a developer's machine through Wrangler, and can run on your own servers.