He's overreliant on streaming.

Reply to this note

Please Login to reply.

Discussion

subscriptions, really, and he mashed them together with queries in a way that makes managing network resources difficult to do when writing a relay, put it this way, you can't really run even the most well written relay in under about 600mb, that's a lot more than a blockchain client, for example, with transactions coming in all over the place

How low can you go with the Realy API?

i haven't got a client to test it with so idk, i'd assume it would be more like 200-300

Hmmm. Thar sounds pretty good. We'll see #thoon.

Should maybe be part of an overall low-bandwidth mode, or something. Stop auto-downloading media and pull events over HTTP.

just separating subscriptions and queries alone makes a huge difference because you don't need to keep a socket data structure and thread live all the time, you just spin one up each time there is request

the majority of nostr queries are not subscriptions but the client has to explicitly close them all the time