2 ms·
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 hav
by uvdn7 5y ago
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.
If you like more analogies between CPU caches and distributed systems, https://blog.the-pans.com/cpp-memory-model-as-a-distributed-system/ https://blog.the-pans.com/cpp-memory-model-as-a-distributed-... :p