WebSockets "fan out" service

I'd like to build a simple "fan out" service and wonder if this is conceptually possible using Worker's support for WebSockets. I'd like the service to have an HTTP endpoint that an external system can post to when an event is created and then the worker would relay this event to all connected clients via WebSockets. Is such a use-case feasible using workers? I've read most of the docs on Workers integration with WebSockets but it's still unclear to me how all the pieces fit together. Would I need a durable object for this use case? Thanks in advance for any and all help!
1 Reply
Nick Randall
Nick RandallOP2y ago
That makes sense, thanks @skye_31
Want results from more Discord servers?
Add your server