Would love to have an extension of the protocol that included post stats. Some posts on instagram, etc have millions of likes. You’re not going to download millions of like notes. Relays should probably eventually count and discard like notes, only keeping pubkey if they want to not double count .
Login to reply
Replies (2)
You may be interested in this:
HyperLogLog could fix follower counts, reaction counts and other counts on Nostr without requiring global state -- the idea is that you can fetch counts from multiple relays (only the relays that you trust enough to not lie about counts and not allow spam and sybil) and aggregate them locally without double counting.
It also allow relays to not store events and still provide a meaningful count of them: for example, reactions currently use a huge amount of storage, but a relay could just store a 256-bytes HyperLogLog value representing all reactions it could possibly get for any given event, for example, and still return that to clients and let clients combine that with the values from other relays.
More information here: https://github.com/nostr-protocol/nips/pull/1561
View quoted note →
brainstorm.ninja crew is creating these stats with opensource/graph datastorage, to facilitate trust/recommend calculations.