BlogsShopifyUnified Edge Traffic Management

Unified Edge Traffic Management

Unified Edge Traffic Management

2
posts
2022–2025

Shopify has unified its edge network infrastructure with the introduction of Möbius and Shopify Front End (SFE). Möbius handles TLS and TCP termination close to the client, providing improved performance and DDoS protection. SFE acts as a unified routing layer behind Möbius, dispatching traffic to various applications and services. This initiative standardizes traffic paths, simplifies observability, and automates edge configuration for application owners, enabling faster feature deployment and the development of interactive, real-time visualizations like the BFCM Live Globe pinball machine. The pinball machine itself is a three.js app built with react-three-fiber, utilizing server-sent events for real-time order streaming, custom shaders for dot matrix displays, and 2D physics (rapier2D) for performance. It also incorporates VR support via react-three/xr and displays real-time infrastructure stats.

2025

Behind the build: 2025's BFCM globe in a pinball machine 🌎🕹️ - Shopify

12/3/2025

This post details the technical implementation of the 2025 BFCM Live Globe, which was built as a pinball machine. Key technical aspects include: a three.js app with react-three-fiber, server-sent events for real-time order streaming, custom shaders for dot matrix displays, 2D physics simulation using rapier2D for performance, VR support via react-three/xr, and the display of real-time Shopify infrastructure stats on an in-game monitor. It also touches on design decisions like prioritizing 2D physics over 3D for performance and the modular design of interactive minigames within the pinball machine.

2022

Möbius: Shopify’s Unified Edge - Shopify

4/20/2022

This post details the creation of Möbius, a unified edge network system at Shopify, and its complementary routing layer, Shopify Front End (SFE). It addresses the problem of having over six different traffic paths, which complicated feature deployment, observability, and onboarding. Möbius standardizes TLS/TCP termination and DDoS protection, while SFE provides a unified routing layer using nginx and custom Lua code. The system automates domain and certificate management at the edge, simplifying the process for application owners. The post also highlights the benefits of this unification for future edge capabilities like caching and cluster-to-cluster communication.