by jkarneges on 2/27/25, 4:48 PM with 0 comments
Fastly Pub/Sub makes it easy to send messages in real-time to browsers and other devices, using SSE or MQTT. It is built on top of Fanout, our global connection management & message routing infrastructure, which means it works at mega scale across all of Fastly's 100+ regions (POPs). We hope folks find it to be a compelling alternative to other "real-time pub/sub" SaaS offerings.
Also, we are shipping this product in a novel way: as an open source app for Fastly Compute. You can run it on Fastly as-is or fork it if you'd like. It runs serverlessly and there is nothing to manage. It's free to try since all the components it depends on have free tiers/trials, and the app itself has no cost of its own. The costs of using it are simply the costs of Compute & dependencies.
There's a demo here: https://pubsub-test.glitch.me/
With the demo you can play around with sending messages between browser windows and with curl.
Announcement & setup guide here: https://dev.to/fastly/announcing-the-pubsub-compute-app-35ki
Let us know what you think!