Memcached вопросы и ответы для интервью
Вопрос 16. What is the Memcached LRU algorithm?
LRU (Least Recently Used) is a caching eviction algorithm used by Memcached to remove the least recently accessed items from the cache when it reaches its memory limit.
Вопрос 17. How can you monitor Memcached performance?
Memcached performance can be monitored using tools like memcached-tool, telnet, or specialized monitoring software. Key metrics include hit rate, miss rate, and memory usage.
Вопрос 18. What is the difference between Memcached and Redis?
While both are caching systems, Memcached is a simple key-value store, and Redis is a more feature-rich data store with support for data structures like sets and lists.
Вопрос 19. Explain Memcached connection pooling.
Memcached connection pooling involves reusing existing connections instead of creating new ones for each request. This helps reduce overhead and improve performance.
Вопрос 20. What is the Memcached max item size?
The default max item size in Memcached is 1 MB. It can be adjusted based on the application's requirements.
Самое полезное по оценкам пользователей: