hey people! does Cloudflare keep
hey people! does Cloudflare keep connections alive for how long? would it be possible to set up a Worker which will be serving an EventSource? this requires the connection to be kept alive, that's why I'm asking
2 Replies
it seems that PubSub would require long living connections, doesn't it?
https://developers.cloudflare.com/pub-sub
Overview · Cloudflare Pub/Sub
Pub/Sub is currently in private beta. Browse the documentation to understand how Pub/Sub works and integrates with our broader Developer Platform, and …
which seems a very similar workflow with Remix + Server Side Events
in this demo is demostrated => https://www.youtube.com/watch?v=_7yJEC124jM
without the need of instaling this
mqtt
(it seems nice though)Remix
YouTube
Server-Sent Events in Remix (feat. Moishi Netzer)
Moishi Netzer teaches Brooks how to implement server-sent events in Remix!
Repo 👉 https://github.com/moishinetzer/remix-live-loader
Server-sent events docs 👉 https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events
Learn more about Moishi 👉 https://github.com/moishinetzer
00:00 - Introductions
02:44 - Walkth...