Re:Your computer is a distributed system
by uvdn7 on Wednesday March 30, 2022 @10:53AM
(#30856018)
This is actually what makes handling the distributed system in a single computer easier – everything crashing together makes it an easier problem.
E.g. you have multiple CPU cachelines, caching different values of a main memory location. And there are different cache coherence protocols to keep them sane. But cache coherence protocols never need to worry about the failure mode when one cacheline is temporarily unavailable but the others are.
So yes, there's a distributed system in each multi-core computer, but it's a distributed system with an easier failure mode.
E.g. you have multiple CPU cachelines, caching different values of a main memory location. And there are different cache coherence protocols to keep them sane. But cache coherence protocols never need to worry about the failure mode when one cacheline is temporarily unavailable but the others are.
So yes, there's a distributed system in each multi-core computer, but it's a distributed system with an easier failure mode.
If you like more analogies between CPU caches and distributed systems, https://blog.the-pans.com/cpp-memory-model-as-a-distributed-... :p