๐๐๐ it will all be included in the gplv3 relay tools, don't worry.. ๐
Discussion
ok, since u zapped.. i turned off read ahead in strfry, which i had already thought was off. ๐งprob not a surprise to anyone who read the config and didnt get their booleans confused like i did ๐
Life-changing "V2V" interaction right here! Am I doing the "Nostr influencer" thing right?
Lol, LMDB strikes again! I assume you're talking about LMDB, right? I don't run strfry, but LMDB readahead and mapsize caused some fun bugs in Khatru relays too. Well done, regardless! I'm not operating at the scale of relay.tools or nostr1.com, but I know the feelingnwhen a struggling server "comes back to life" with a bit of tuning.
My last moment like this was when I figured out how to drop incoming packets from a specific Cloudflare outbound IPv6 (used by all cross-region Cloudflare Worker requests). A few of my relays went from being DDoSed into oblivion (to the point where even the log writer couldnโt keep up with all the logs about rate-limited requests) to a smooth 7% or less CPU usage. It feels good. A kind of good that folks outside DevOps probably wonโt ever experience. Itโs a very lonely "feel-good" moment.