Push prices or breaking news in real time with Server-Sent-Events

Stream responses to the browser while still receiving data from the origin and also saving it to cache. Great for spreading out server-sent-events streams to millions of users from a single source stream.

VCL

Use this solution in your VCL service (click RUN below to test this solution orΒ clone it to make changes):

Compute@Edge

Use this solution in your Compute@Edge service:

  1. JavaScript
  2. Rust
This page is part of a series in the Real-time data topic.