| > build it in the protocol! You don't have access to the interprocess cache snooping in software. This is CPU interconnect internal shit, and you actually need access to the local memory bus for correctness. mmap in its fully glory is only really worth having if you can share pages from the buffer cache. And even if you did, and you turn a ten nanosecond operation into a ten millisecond operation, counting the network packets you send (a factor of a million overhead), without the assumption that all the peers are reliable and never fail, the abstraction still breaks. And if you assume all your peers are reliable in a distributed system, you're wrong. Damned either way. > I've never seriously looked at 9p, but the page you linked strongly suggests to me that it's more abstraction if anything No, it's a single abstraction, instead of dozens that step on each other's toes. > Great. I get it. 9p is a basic transport method that gives some introspection for free What introspection? It's just namespaces and transparent passthrough. Unless you're talking about file names. |
And also we'd need to extend all the cache coherency stuff over the network.
> And if you assume all your peers are reliable in a distributed system, you're wrong. Damned either way.
Technically you have the reliability issues with all the components inside a single system, just as well. They are just more reliable. But I'm sure I have seen hard disks failing, etc.
--
Ok, let me think about that abstraction stuff. Thanks.