Semisol 👨💻 on Nostr: I use badger for local caching of already-seen events, signature verification is ...
I use badger for local caching of already-seen events, signature verification is expensive so this cuts down on CPU usage a lot
there’s also a small in memory cache
then it all hits the storage DB (FoundationDB with 3 nodes)
Published at
2024-07-24 08:41:30Event JSON
{
"id": "e250401fdc56c867ee5f373aeb319fc5d709458053d2b98d2381931db85d0207",
"pubkey": "52b4a076bcbbbdc3a1aefa3735816cf74993b1b8db202b01c883c58be7fad8bd",
"created_at": 1721810490,
"kind": 1,
"tags": [
[
"e",
"09bdd4f786e97d8339ed12b7d072a081eba4cc5f7fb19134d51b23b36ed2707f",
"wss://hist.nostr.land/",
"root"
],
[
"e",
"4bff24ea0e9b481c93d134dd42d18b7174bfc7be41df33c856c87ab2cc61d2ce",
"",
"reply"
],
[
"p",
"4c800257a588a82849d049817c2bdaad984b25a45ad9f6dad66e47d3b47e3b2f"
]
],
"content": "I use badger for local caching of already-seen events, signature verification is expensive so this cuts down on CPU usage a lot\n\nthere’s also a small in memory cache\n\nthen it all hits the storage DB (FoundationDB with 3 nodes)",
"sig": "b87d6017755d56c05c3a7bc91c6cb4de7b31b381c4e22046234ce3e20df5518a35b119b4060abf23eee0ad51c5950ed5282534efb4ab7ea55618378f99f29d38"
}