# Using Server Sent Events to Simplify Real-time Streaming at Scale

DevFeed: [Using Server Sent Events to Simplify Real-time Streaming at Scale](<https://devfeed.tech/articles/using-server-sent-events-to-simplify-real-time-streaming-at-scale-1571.md>)

Original publisher: [Read original article](<https://shopify.engineering/server-sent-events-data-streaming>)

Author: Bao Nguyen

Published: 2022-11-30T14:00:04Z

Content type: tutorial

Language: en

Sources: [Shopify Engineering](<https://devfeed.tech/sources/shopify-engineering.md>), [Shopify Engineering - Shopify Engineering](<https://devfeed.tech/sources/shopify-engineering-shopify-engineering.md>)

Topics: [real-time](<https://devfeed.tech/topics/real-time.md>), [Streaming](<https://devfeed.tech/topics/streaming.md>), [Data visualization](<https://devfeed.tech/topics/data-visualization.md>), [Scalability](<https://devfeed.tech/topics/scalability.md>), [nginx](<https://devfeed.tech/topics/nginx.md>), [Shopify](<https://devfeed.tech/topics/shopify.md>), [web applications](<https://devfeed.tech/topics/web-applications.md>)

Tags: [data-visualization](<https://devfeed.tech/tags/data-visualization.md>), [golang](<https://devfeed.tech/tags/golang.md>), [http](<https://devfeed.tech/tags/http.md>), [latency](<https://devfeed.tech/tags/latency.md>), [nginx](<https://devfeed.tech/tags/nginx.md>), [performance](<https://devfeed.tech/tags/performance.md>), [real-time](<https://devfeed.tech/tags/real-time.md>), [scale](<https://devfeed.tech/tags/scale.md>), [shopify](<https://devfeed.tech/tags/shopify.md>), [sse](<https://devfeed.tech/tags/sse.md>), [streaming](<https://devfeed.tech/tags/streaming.md>)

## AI overview

This article explains how Shopify used Server-Sent Events (SSE) to simplify the architecture of its BFCM Live Map, a real-time data visualization product. It compares push, polling, and long-polling communication models, then describes implementing a scalable, Nginx-load-balanced SSE server in Golang to improve performance and data latency.

## Source excerpt

We walk through how we implemented an SSE server that's scalable and load-balanced to simplify and improve a real-time data visualization application.