Replying to Avatar JeffG

Been eyeballs deep in nostr:npub12vkcxr0luzwp8e673v29eqjhrr7p9vqq8asav85swaepclllj09sylpugg 's Caching Service all afternoon, and I'm very excited about what this will enable!

High level what they doing with caching mechanism, like Top xyz or caching everything in subset of relays. I do wonder.

Reply to this note

Please Login to reply.

Discussion

It’s all in the code. The cache service connects to about 850 different relays, pulls events, de-dupes them, and then does some basic aggregation to make the data more useful.

It’s one piece of the puzzle that is building really high performance clients.

Oh it's open source 😅 my bad I thought maybe not. Cool thanks 🤙

Yeah! It’s amazing, they open sourced their entire stack. 🤯

My first thought what's the cache key 🤣 or keys (but cuz I wasn't in the nips). But yea cool I stash everything nostr in new separate gh lists 🤷‍♂️ thnx

Like based on what entities and referencing and tags, how it's commonly known but silly question cuz I didnt go as deep . Done rant 🤣