Memcached 的自我定位
在 Memcache 的官方主页的 “What is Memcached” 部分中,它将自己定位为一个“开源的,高性能的,分布式内存缓存系统”。
Free & open source, high-performance, distributed memory object caching system, generic in nature, but intended for use in speeding up dynamic web applications by alleviating database load.
Distributed computing is a field of computer science that studies distributed systems. A distributed system consists of multiple autonomous computers that communicate through a computer network. The computers interact with each other in order to achieve
a common goal.
Load balancing is a computer networking methodology to distribute workload across multiple computers or a computer cluster, network links, central processing units, disk drives, or other resources, to achieve optimal resource utilization, maximize throughput,
minimize response time, and avoid overload.
// memcache.c
"memcache.hash_strategy" = standard // before
"memcache.hash_strategy" = consistent // after
根据测试数据,增删 Memcache 的时候缓存的丢失情况为: