Hacker News new | ask | show | jobs
by zzo38computer 1028 days ago
> 2. Nothing prevents this, but it would be specified as a sister protocol. I haven't seen it specified, but I know that relays are doing it.

Then, how are you supposed to know how to do if it is not specified?

> 3. Websockets allows pub-sub. Clients stay connected to relays and instantly get the next message when it arrives. Polling means either lots of polling or having delays.

You can remain connected even with plain TCP (or with TLS) too. But, if you only want to send or receive a single message (rather than waiting as new messages arrive), then HTTP would also do.

> I also started a nostr-like protocol back in November 2022 based on my gripes with it.

Do you have the document?