Memcached Memory Management

Aman Agrawal - Oct 5 '20 - - Dev Community

The memcached is one of the most popular open source on-memory key-value caching systems. I will briefly talk about the design of memory management of memcached. Chunk and Slab This is the struct declaration of slabclass_t. Each slab class contains the same size of chunk, but…

Read On

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .