Global Feed Post Login
Replying to Avatar david

I maintain a cache of kinds 3, 1984 and 10000 notes that is updated continuously. I also maintain a graph database with pubkeys as nodes, and each follow and mute forms an edge. (Reports will be next.) Whenever a new kind 3 or 10000 note replaces an old one, the edges of the graph database get updated, individual edges being removed or added as needed.

Avatar
david 1y ago

There are tradeoffs maintaining a nostr cache versus downloading events every time on the fly. The former is more performant, the latter is perhaps more “pure.”

Reply to this note

Please Login to reply.

Discussion

No replies yet.