Remix.run Logo
compressedgas 3 days ago

RS(1,3) is a slow way to store four copies.

DeusCodex 2 days ago | parent [-]

I'm open to suggestions for better erasure coding storage ratio :)

compressedgas 2 days ago | parent [-]

There is nothing wrong with the ratio. It is that for this ratio it is less computation to use the Merkle tree and plain replication rather than erasure coding. My suggestion is already stated. Store four copies and use the Merkle tree to determine which is valid.

DeusCodex a day ago | parent [-]

You know what, that might be a very good idea, if encoding speeds on my really crappy hard-drive weren't under a second. But no I do see where you're coming from, and for larger files that concept does apply, but blockframe wants to protect your files from circumstances that you can't control, and the concept is still, have the file as its own entity, and to keep it planted, we use RS to make sure nothing funky happens. Small files do tend to cause random access speeds, that's why they're not split up.