The two use cases that emphasize the "relay" part of relays are:

- Ephemeral events

- Live subscriptions

In those cases, relays are actually a pretty good implementation of a distributed publish/subscribe messaging system.

Reply to this note

Please Login to reply.

Discussion

yes, but even then, why websockets when SSE has been mature since 2016

if you are wondering the term you are looking for is NATS JetStream