Question(s)

Chris Angelico rosuav at gmail.com
Wed Oct 25 07:22:48 EDT 2023


On Wed, 25 Oct 2023 at 21:53, o1bigtenor <o1bigtenor at gmail.com> wrote:
>
> Hmmmmmmmmmm - - - - now how can I combine 'Hamming codes'
> and a raid array?
>
> TIA

Normally you wouldn't. But let's say you're worried that a file might
get randomly damaged. (I don't think single-bit errors are really a
significant issue with mass storage, as you'd be more likely to have
an entire sector unreadable, but this can certainly happen in
transmission.) What you do is take a set of data bits, add an error
correction code, and send them on their way. The more data bits per
block, the more efficient, but if there are too many errors you will
lose data. So there's a tradeoff.

ChrisA


More information about the Python-list mailing list