这些天我正在研究分布式计算,并且很想知道Memcached的工作原理。维基说:
memcached是一个通用的分布式内存缓存系统
看看architecture解释了内存缓存,但我不明白“分布式计算”的工作原理。服务器甚至不知道彼此 - 容错性如何!
有人可以帮助我了解数据在这样的系统中流动的“流程”吗?客户端如何理解哪个服务器保存了所需的数据(如果是高速缓存未命中)
谢谢!
答案 0 :(得分:0)
A group of friends and I (with some beers on the table) were arguing whether memcache was actually a distributed system.
I was on the group that claims the word "distributed" needs to be removed from Memcache definition, 'cause memcache doesn't know anything about other nodes. The distribution is handled entirely by the clients.