What is Nostr?
hakkadaikon / 発火大根 a.k.a. radish on fire🎤
npub1zqd…k6mn
2025-01-25 11:13:22

hakkadaikon on Nostr: Hi, All. I recently developed a WebSocket server. I plan to embed this WebSocket ...

Hi, All.

I recently developed a WebSocket server.
I plan to embed this WebSocket server into a future Nostr relay that I will develop, with enhanced documentation, comments, and testing.

https://github.com/Hakkadaikon/websocket/tree/main

By the way, there's something I've been thinking about lately.

Nostr runs on top of WebSockets, And WebSockets run on top of TCP/IP.
In the case of TCP/IP, data cannot be received in bulk using a system call, so we believe there is a problem in that it is difficult to improve performance beyond a certain level.

I believe that if Nostr were run over a UDP protocol such as WebTransport, RUDP, etc..., Nostr relay could operate even faster.

For a plain Nostr relay delivering text events, probably won't need to go this far.
However, I think this Nostr relay can be useful for delivering volatile, streaming, real-time data.

In the future, I plan to create a PoC that runs Nostr on the UDP protocol.

What do you think?
Comments, positive or negative, are welcome.

#nostr #grownostr
Author Public Key
npub1zqdnpm5gcfap8hngha7gcp3k363786phvs2etsvxw4nh6x9ydfzsuyk6mn