Caching Flashcards
What is caching?
Caching is the process of sorting recently generated results in memory. The result can then be used again when requested instead of going back to its original source.
How do we deal with stale data when we cache?
Generally, you want to set some sort of expiration on your cache system. cached data should only exist for a period of time.
What is Memcached?
memcached is a memory-based cache framework. it takes a piece of memory and converts it to cache space. Memcached can run on multiple servers and share cache on multiple servers.
what are some of the differences between Memcached and Redis?
Redis supports complex data types, offers data persistence, and has a different memory management scheme.