在此处的 memcached 概述中
它说:
Memcached servers are generally unaware of each other. There is no crosstalk, no syncronization, no broadcasting. The lack of interconnections means adding more servers will usually add more capacity as you expect. There might be exceptions to this rule, but they are exceptions and carefully regarded.
我在想它如何成为一个分布式系统而不需要在集群中的节点之间进行同步?如果我从我的程序写入节点 1 上的缓存并且我的下一个请求转到节点 2,那么我正在从一个陈旧的缓存中读取。