Cache Design Patterns: Namespacing and Cache Expiration

Memcached is a caching daemon used in PHP to speed up dynamic data driven applications by store objects and data in memory; it's main use is to reduce the number of times we have to recall these objects from external data sources (e.g. DBs and APIs), as reading from these sources is generally slower than reading from memory.

However, on large scale applications, it's not trivial to implement a good caching system, usually because of invalidation issues. When a user performs an action to update ...
Read More