The data we store on S3 is replicated multiple times to make sure it is never lost (even in the event of a disaster). If they simply stored multiple copies of the data, it would get expensive very quickly at the exabyte scale.
This is where erasure coding gives you the same durability for a fraction of the storage cost. Let me explain...
The idea is simple: split your data into k chunks, then compute m extra parity chunks from them, for a total of n = k + m chunks spread across different disks or nodes. You can lose any m of those n chunks and still reconstruct the original data.
Standard storage class of S3 uses an erasure coding scheme, around 9 data shards and 4 parity shards, spread across multiple availability zones. That gives 99.999999999 percent (eleven nines) durability while using roughly 1.5x the actual data size.
This would have been 3x for a naive triple replication, and thus, the additional cost is pretty low with erasure coding.
The parity math comes from Reed-Solomon codes, the same technique used in QR codes. Given any k of the n total chunks, you can solve a system of linear equations to recover the rest. You can read the Reed-Solomon wiki page for more details, or ask your fav LLM.
By the way, here, the tradeoff is compute.
Reconstructing missing chunks needs CPU cycles to run the decoding math, while replication just reads a copy. Reconstruction also gets slower as you increase the number of parity shards, since the math involves larger matrices.
This is why systems tune k and m carefully. Too few parity shards and durability suffers; too many and reconstruction becomes more expensive.
By the way, Erasure Coding is the reason cloud storage is both cheap and durable at the same time. Just a bunch of encoding math at play.
Hope you found this interesting.
The double slit experiment has haunted physicists for over 200 years.
When you shoot a single photon through two slits in a barrier, it doesn't choose one hole. It goes through both simultaneously, interferes with itself, and lands on the screen as a wave pattern, as if the particle somehow knew both paths existed and took all of them at once.
The moment you place a detector to watch which slit it goes through? The wave pattern vanishes. The photon suddenly behaves like a solid particle. The act of observation collapses the quantum superposition into a single definite reality.
Physicists called this "wave-particle duality" and for generations, we treated it as a quirk of space. A particle's relationship with physical barriers, physical gaps, physical measurement.
What just happened changes the entire frame.
Researchers didn't use slits carved into a material. They used slits carved into time itself — ultra-short switching windows in the electrical properties of a material, flickering on and off at trillionths of a second. Light passed through these temporal gaps the way it would normally pass through spatial gaps. And the interference pattern still appeared. Not across space. Across frequency.
Sit with that for a moment.
The wave behavior of light, the phenomenon we always associated with light spreading through physical space, reproduced itself in the time dimension. The photon interfered with its own past and future states the way it normally interferes across left and right positions.
What this quietly confirms is something theoretical physicists suspected but had never demonstrated: space and time are not just mathematically symmetric in quantum mechanics. They are physically interchangeable in ways that produce identical quantum behavior. The "slits" are interchangeable coordinates. The universe doesn't distinguish between a gap in space and a gap in time when it decides how reality should unfold.
The implications of that sentence are almost impossible to absorb without stopping completely.
We built our entire intuition about quantum mechanics around the geometry of space — particles passing through openings, waves spreading outward, interference happening across a physical screen. Every textbook, every lecture, every thought experiment uses spatial metaphors because that's the dimension we experience as "real" and navigable.
Time, by contrast, we experience as a river we're trapped inside — always moving forward, never able to go sideways in it. We don't experience temporal gaps the way we experience physical ones. A door has two holes, you can walk through either one. A moment in time doesn't seem to have "holes."
Except for a photon, apparently, it does.
The temporal slit experiment forces a deeply uncomfortable update to how we model light, matter, and information. If wave-particle duality operates across time the same way it operates across space, it means quantum superposition — that strange state of "being in multiple states simultaneously until observed" — is not just a spatial phenomenon. A particle can exist in multiple temporal states simultaneously. Its wave function doesn't just spread left and right. It spreads forward and backward in time.
This connects to something that's been sitting at the edge of quantum mechanics for decades: the block universe theory. In Einstein's relativity, past, present, and future all exist simultaneously as coordinates in a four-dimensional spacetime fabric. "Now" is just the slice of that fabric you happen to occupy. Physicists who take this seriously argue that the reason quantum mechanics is so strange is that particles already operate in the full four-dimensional block — they're not choosing a path through space, they're tracing a path through spacetime, and what we call "probability" is our limited three-dimensional perception failing to see the complete trajectory.
The temporal slit experiment edges us closer to that picture being literally, physically, measurably true.
And then there's the measurement problem. The original spatial double slit experiment breaks your brain because the act of looking destroys the wave behavior. Nobody has fully agreed on why. Some say the observer collapses the wave function. Some say the detector entangles with the photon and creates decoherence. Some say the universe splits. The temporal version of the experiment opens a new front in that war. When you measure a temporal slit — when you try to determine which moment the photon passed through — does the interference across frequency collapse the same way interference across space does when you watch it?
That experiment hasn't been done yet. The answer will either confirm that time and space are truly symmetric at the quantum level, or it will break the symmetry and reveal that time has a fundamentally different relationship with observation than space does.
Either outcome rewrites something important.
We think of physics experiments as things that happen in laboratories, relevant to scientists with particle accelerators and cryogenic equipment. But every foundational shift in quantum mechanics eventually rewires technology. The photoelectric effect sounded like a curiosity in 1905. It built every solar panel and digital camera in existence. Quantum tunneling sounded abstract. It gave us the transistor, and therefore every computer.
Wave-particle duality operating across time opens the door to temporal interference as an engineering tool. Controlling how light and matter interfere across time gaps — not space gaps — could produce entirely new forms of signal processing, photonic computing, and quantum communication that don't currently exist even theoretically.
The universe keeps revealing that the constraints we assumed were fundamental were just the limits of our instruments.
Time always looked like a wall.
Turns out it was a slit all along.
@skskskskrrttt Thanks for the motivation, I had 4 hrs of sleep, messed up an interview, was going to sleep, saw your post, listened to the songs, will continue the grind now💪🏼
𝗣𝗮𝗶𝗱 𝗖𝗼𝘂𝗿𝘀𝗲 𝗙𝗥𝗘𝗘 (PART - 1)
1. Artificial Intelligence + Data Analyst
2. Machine Learning + Data Science
3. Cloud Computing + Web Development
4. Ethical Hacking + Hacking
5. Data Analytics + DSA
6. AWS Certified + IBM COURSE
7. Data Science + Deep Learning
8. BIG DATA + SQL COMPLETE COURSE
9. Python + OTHERS
10 MBA + HANDWRITTEN NOTES
(72 Hours only ) Cost About - $500
To get FREE: -
1. Follow (So I can DM you)
2. Like & retweet
3. Reply " Send "