damn, only saw this now.. do you think it was because of bad client behaviour handling requests or because you requested too much data? how much is 40k sats worth of data with silent.link?

Reply to this note

Please Login to reply.

Discussion

its not too terribly much. but i was making big filter requests repeatedly without realizing all that data was was not just staying serverside. i should have known that 🤷

ah ok. yeah those can compound rapidly, especially if you run it on multiple relays...

I need a good way to browse the local db so you can easily get data without re-asking for it.

use a Map() and store the events in memory, or localstorage. use that like a cache... if the event you're looking for is not there, then do the request

I already do have in-memory and indexedDB for all events that come through, but it's only used at the moment to get single missing events to build threads, can't really query it easily yet