Memcached perguntas e respostas de entrevista
Pergunta 21. How does Memcached handle network partitions?
Memcached does not handle network partitions by default. Developers need to implement their own mechanisms, such as sharding and replication, to address network partition issues.
Pergunta 22. Explain Memcached UDP support.
Memcached supports UDP (User Datagram Protocol) for fast and lightweight data transfer. It is often used for non-critical operations like cache updates.
Pergunta 23. What is Memcached key hashing?
Memcached uses a consistent hashing algorithm to determine the server responsible for a particular key. This ensures even distribution of keys across multiple servers.
Pergunta 24. How can you handle cache stampede in Memcached?
Cache stampede can be mitigated using techniques like setting short expiration times, implementing mutexes, or using lazy loading to refresh the cache.
Pergunta 25. Explain Memcached slab growth factor.
The slab growth factor in Memcached determines how much the memory allocation size should grow when the existing slabs are full. It helps in efficient memory management.
Mais uteis segundo os usuarios: