Möbius: Shopify’s Unified Edge
Shopify replaced more than six distinct ingress paths (GenPop core, apps, PII-restricted regions, mTLS APIs) with a single edge, Möbius, backed by a unified routing layer, Shopify Front End (SFE). SFE is nginx with custom Lua deployed per region, fed by Kubernetes controllers that register application domains with a central API. Routing-layer active/active and active/passive load balancing then shifts traffic almost instantly, without waiting on DNS TTLs. Möbius terminates TCP and TLS at the provider's PoPs close to clients and reuses the SFE controller's domain data to automate domain validation and certificate issuance at the edge vendor, so migrating an app becomes a manual DNS switch plus per-app edge observability dashboards.
Related posts
- How Shopify Dynamically Routes Storefront Traffic
Shopify Engineering mediumAdeptShopify shifted storefront traffic from its legacy Rails storefront to a rewritten renderer using a rule-based routing system in nginx/OpenResty Lua load balancers, with rules stored as JSON in a control plane and managed via the spy chatbot so changes skip CI and deploys. Each rule specifies filters, target shop IDs, and sampling rates for rendering, forward verification (legacy renders, new storefront checked), reverse verification, and self-verification against the local region's deployment. Rules are checked in the nginx rewrite phase, verification is decided in the header filter phase, and duplicate requests are sent asynchronously via nginx timers in the log phase so clients never wait on both upstreams. The same mechanism let the team mirror traffic to a separate deployment disconnected from Redis to test resilience before BFCM.
- How We Built Oxygen: Hydrogen’s Counterpart for Hosting Custom Storefronts
Shopify Engineering easyNoviceOxygen, Shopify's hosting platform for Hydrogen custom storefronts, assembles GitHub, GitHub Actions and Cloudflare Workers with first-party Shopify services such as the CDN, Admin API and identity. Shopify briefly built its own V8-isolate infrastructure but chose Cloudflare's Workers for Platforms instead to ship faster and reduce scale and security risk. A Gateway Worker checks authorization and routes requests to per-storefront workers via the Dynamic Dispatch API, and a Trace Worker forwards logs and metrics to a separate Grafana/Loki/Cortex/Tempo stack that keeps merchant-facing telemetry apart from internal metrics.
- How we use GraphQL at Europe's largest fashion e-commerce company
Zalando Engineering easyNoviceZalando replaced a sprawl of per-page and per-platform Backend-for-Frontend services with a single unified GraphQL API owned via a shared monorepo across 12+ domain teams. The BFFs had duplicated effort, fragmented security and observability, and produced inconsistent data across web and app. The graph is built on Entities such as Product and Campaign and runs on their own GraphQL engine, graphql-jit, under a strict no-business-logic rule. Since 2018 it has grown to serve over 80% of web and 50% of app use cases, with adoption driven by documentation, training and schema consultation, and god-component risk handled through contribution principles, circuit breakers, timeouts, retries and per-platform bulkhead deployments.
- Traffic 101: Packets Mostly Flow
Slack Engineering mediumAdeptA Slack request reaches its main region in AWS us-east-1 through a chain of hops. DNS answers come from Route53, or from NS1 for websocket records, and use edns-client-subnet to pick the nearest edge PoP. From there, Layer 4 NLBs pass traffic to Envoy-based Layer 7 tiers (envoy-wss for websockets, envoy-edge for API traffic), which route to internal services like Gatewayserver, Applink, Flannel, Imgproxy and Supra/Miata. Traffic from a PoP to the main region rides the AWS backbone, encrypted by Nebula. Failure handling is layered: a backup websocket domain uses an NS1 filter chain that shuffles among the three nearest regions to avoid thundering herds, a Degraded Mode falls back to the HTTP API when websockets fail, an Edge Pop Drain tool flips DNS to drain unhealthy PoPs automatically, and CloudFront has a backup CDN domain with client-side failover.
- Edge Functions are now available in Supabase
Supabase easyNoviceSupabase Edge Functions run TypeScript globally on the Deno runtime via Deno Deploy across 30+ data centers. Supabase chose functions-as-a-service over containers for simpler developer experience and faster start-ups, and global deployment over a single region, with Postgres-colocated Database Functions covering DB-heavy work. Requests pass through a Relay gateway that verifies JWTs, rate-limits and logs, then maps function metadata to a Deno Deploy deployment ID. Cold starts fetch code and secrets from Supabase, and logs flow through Logflare into the dashboard. Functions are POST-only, and static hosting is ruled out after phishing abuse on Supabase Storage got the domain denylisted.