Shopify
Shopify logoShopify · Feature trail

Server-Sent Events for Real-time Streaming

1 post · Nov 2022

What this trail covers

Shopify has implemented Server-Sent Events (SSE) to simplify its real-time data streaming architecture, particularly for the BFCM Live Map. This move from a polling model to SSE has significantly reduced data latency, improved performance, and streamlined the overall system by removing intermediate presentation layers and message bus bottlenecks. The new architecture leverages a Flink-based data pipeline and a horizontally scalable Golang SSE server, load-balanced by Nginx, to deliver data within milliseconds of its availability.

All Shopify trails