You are reading a blog or a book or something on distributed systems, and you come across the line that you can't trust clocks. Usually it's a variation of clocks drift, don't order things by timestamps or don't trust the timestamps. So, you accept that as the truth, but have you ever wondered why you can't trust the clocks?
How the clock works
Every clock ever built is made out of two parts. Something that repeats and something that counts the repetitions. A pendulum, some gears, and these days, a rock.
Yes, the clock is just a stupid rock. Yes, humanity made clocks out of vibrating stupid rocks. Well, not the worst thing humanity has done, to be fair, but it's up there along with teaching sand to think.
The rock in question is a crystal of Quartz.β¦