karakoram2 on Nostr: We need a number of views feature in #nostr I'm thinking if we can have an event type ...
We need a number of views feature in #nostr
I'm thinking if we can have an event type that indicates whether a post was viewed (just like a "like") by a user if they had the post displayed on the screen for say 2 seconds. A duplicate view will not be counted by default. If duplicates are needed the event can include a timestamp to make sure if the views happened far away from each other then it can counted twice even if it is from the same user.
This would generate a lot of data, I presume. As we won't be storing just the view count but also a set of <user-id, timestamp> for each post. It'd be interesting to know the kind of scale we are dealing with here (GBs, TBs?)
Does anyone thought about it or working on it? I'd be interested to read further about it.
#Bitcoin #nostr #development #software
I'm thinking if we can have an event type that indicates whether a post was viewed (just like a "like") by a user if they had the post displayed on the screen for say 2 seconds. A duplicate view will not be counted by default. If duplicates are needed the event can include a timestamp to make sure if the views happened far away from each other then it can counted twice even if it is from the same user.
This would generate a lot of data, I presume. As we won't be storing just the view count but also a set of <user-id, timestamp> for each post. It'd be interesting to know the kind of scale we are dealing with here (GBs, TBs?)
Does anyone thought about it or working on it? I'd be interested to read further about it.
#Bitcoin #nostr #development #software