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?
ACID
ACID guarantees data validity in transactions
Outline of databases
Ever wonder how your online bank keeps your money safe during transactions?
calibration means: a model predicting 80% should be correct 80% of the time
A model predicting 80% should be correct 80% of the time
TCP vs UDP: TCP guarantees delivery order, UDP is faster but unreliable
TCP guarantees delivery order, UDP is faster but unreliable
the revelation principle says: any mechanism can be converted to a truthful one
Tragedy of the commons leads to resource depletion
Swipe through 100 ML concepts daily
Open Pocket Polymath