TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Is there such thing as “too many layers of error correction codes”?

5 pointsby kokojumboover 2 years ago
I mean stacking of hardware and software ECC – like storage medium having own ECC layer, file system own ECC mechanisms and later file format stored with additional ECC data that later gets verified after loading data into ECC capable memory. Are there any patterns that would cause cascade effect of the level that would render scale of introduced errors so harmful to integrity and validity of data that it would have been better and less harmful to not layer any more levels of ECC?

3 comments

wmfover 2 years ago
I don&#x27;t know about too many layers, but you can definitely do things wrong. The difference between ECC (which corrects bit errors) and erasure coding (which fills in data that is known to be missing) is important and I&#x27;ve seen people attempt to use one when they should have used the other.<p>I&#x27;ve also seen people nerd sniping themselves on erasure coding while neglecting basic features.
JoeyBananasover 2 years ago
It&#x27;s fairly easy to analyze the effect of layering ECCs mathematically.<p>The end result will always be more robust to errors than it would be otherwise, but the code rate will be smaller (i.e., the same data takes a constant multiple more space to store.)
评论 #34529214 未加载
评论 #34529216 未加载
db48xover 2 years ago
No. Error correction does add some cost, but never makes errors worse.
评论 #34524771 未加载