Ever wonder why your favorite online store always shows you the same price for a product, even if you see different prices elsewhere?
Image: Fascinating Universe, CC BY-SA 3.0, via Wikimedia Commons
Ever wonder why your favorite online store always shows you the same price for a product, even if you see different prices elsewhere?
Imagine you're shopping for a new phone online. You find it for 300 on one site, but when you switch to another site, it shows 280. Frustrating, right?
Your online shopping experience smooths out these price differences over time. Eventually, all sites show the same price, even if it takes a while. This is called eventual consistency.
Example
After a few days, both sites now show the phone for 290 instead of 300 and $280.
Remember this
Eventually consistency ensures all replicas converge to the same state given enough time, making your shopping experience seamless.
Text adapted from Wikipedia, licensed under CC BY-SA 4.0.
CAP theorem states: you can have at most 2 of consistency, availability, partition tolerance
Ever wondered why you can't always get the latest news instantly?
Markov chain
Why does flipping a coin repeatedly get predictable?
ACID
ACID guarantees data validity in transactions
calibration means: a model predicting 80% should be correct 80% of the time
How can we trust a coin flip to predict the weather?
the optional stopping theorem says about martingales and stopping times
Ever wondered why betting on a roulette wheel doesn't change your odds over time?
Convergence of random variables
Ever wonder why flipping a coin repeatedly doesn't always predict the next flip?
Swipe through more Machine Learning concepts
Open Pocket Polymath