Global Feed Post Login
Replying to Avatar jb55

using nostr relays and ephemeral events as a generic tcp proxy mechanism would be an incredibly slow, as it would have to sign and verify every packet as a nostr note, not to mention it would likely be rate limited and blocked on most public relays so it would be very unreliable. Please don’t do that, there is no good reason, and it just wastes the bandwidth of already bandwidth-constrained relays. Just use a regular proxy server.

There are some really cool QUIC based proxy mechanisms that are crazy fast and are e2e encrypted (MASQUE, etc). nostr doesn’t have to do everything, use the right protocol for the job.

gm nostr

Avatar
Derek Ross 1y ago

every single packet? i didn't know that. that sounds horribly inefficient. maybe i am not excited about that then?

Reply to this note

Please Login to reply.

Discussion

Avatar
jb55 1y ago

the only way to send data over nostr is via nostr notes, which are a very inefficient format for binary data. It incurs a json encoding/decoding hit which is pretty slow, not to mention bandwidth inefficient. Lots of overhead for dubious gain.

Thread collapsed