Replying to Avatar hzrd149

nostr:npub1l2vyh47mk2p0qlsku7hg0vn29faehy9hy34ygaclpn66ukqp3afqutajft is it possible to make the wss://relay.wikifreedia.xyz/ relay store all old versions of replaceable notes? I think it would be cool to show the edit history on a wiki page

Would it be better to store them as deltas?

Reply to this note

Please Login to reply.

Discussion

its a cool idea. but I don't think it would work well. as soon as you loose one the whole thing would break.

IMO its better to embrace the inefficiencies of nostr

deltas have a problem of no consensus to keep them complete... deltas could be a space saving strategy in a database but not on a network

Could do similar to video compression and just store a complete snapshot every so many revisions or if the age of the last edit > a certain number of days to make it more fault tolerant while saving space.

sure but i think if you store those different versions in a single key of a key/value store with decent sized blocks every repeated segment is gonna get squashed down anyway

it's only fat on the wire, which isn't really a big problem, especially because it's already pretty squashed by standard websocket compression... flate or whatever it is