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

I think two servers can decide which protocol to use to pass data to each other, I think Semisol's proposal (1671) goes in that direction. The iroh thing seems to have good participation here two other things I've seen recently

I saw this projects

https://github.com/duozhutuan/NostrBridge maybe nostr:nprofile1qqs06ph4g27xcp4rnzqczr0fzlnvt5nhm763dzd9dzkhk7j534k4fngpp4mhxue69uhkummn9ekx7mqpz3mhxue69uhhyetvv9ujuerpd46hxtnfduq3wamnwvaz7tmwdaehgu3ww33xz6fwd4jn5dfexgq3camnwvaz7tmwdaehgu3dxqcju7tpdd5ksmmwdejjucm0d5q32amnwvaz7tmjv4kxz7fwd4hhxarj9ec82csppamhxue69uhkummnw3ezumt0d5w4z029

can say more

also pocket relay https://github.com/StevenDay83/pocket

Reply to this note

Please Login to reply.

Discussion

Thank you !!!!!

I'll check out nips #1671 and your other products!

https://github.com/nostr-protocol/nips/pull/1671