Memcached Interview Questions and Answers
Ques 6. Explain the concept of Memcached slab allocation.
Memcached uses slab allocation to efficiently manage memory. It categorizes memory into slabs based on size, and each slab contains items of a specific size range.
Ques 7. What are Memcached buckets?
Memcached buckets are logical containers that allow the grouping of related caches. They help organize and manage different sets of data.
Ques 8. How can you add or update a value in Memcached?
You can add or update a value in Memcached using the 'set' command. If the key already exists, it will be updated; otherwise, a new key-value pair will be created.
Ques 9. Explain Memcached CAS (Check and Set) operation.
CAS is a mechanism in Memcached that allows for atomic updates. It checks if the value has been modified since it was retrieved, and updates it only if no changes occurred in the meantime.
Ques 10. What is the Memcached max connection limit?
The default max connection limit for Memcached is 1024. It can be configured in the Memcached server settings.
Most helpful rated by users: