Why Nostr? What is Njump?
2024-07-02 16:34:43
in reply to

mleku on Nostr: well, the codebase is slated to be used in a NEAR network project coming up, but i'm ...

well, the codebase is slated to be used in a NEAR network project coming up, but i'm not actually going to be having much to do with that, because the main task is buliding another event store for a different blockchain

my most immediate near future work is going to be an aggregator/bridge that primarily is about pulling data from nostr, blue esky and fartscape to feed to arweave

i want to make my stuff better and ultimately be able to in the near future drop in a whole new server core and codecs and associated libraries in place of the dodgy khatru based relay code and then rework the client side of it to adapt to the new, faster codecs (it's a huge change that breaks most of the APIs)

what i'm quite certain of is that what is happening is that a gigaton of threads are sitting idle for hours and eventually the residual memory garbage from them makes the garbage collector go insane and burn CPU nonstop, and the only fix is to restart the relay, which is not good architecture by my standards (imo, it should run forever, and be able to reconfigure hot, and ideally even if you must restart with new code, hold all the open sockets and resume their state correctly

that's a bit intense to actually implement but when it works, you have a codebase that everyone will use, forevermore amen
Author Public Key
npub1fjqqy4a93z5zsjwsfxqhc2764kvykfdyttvldkkkdera8dr78vhsmmleku