Distributed Caching
Learn about distributed caching in Python.
We'll cover the following
Caching systems such as those provided by cachetools or functools.lru_cache
(discussed in the previous lesson) present a big flaw in relation to distributed systems: their data store is not distributed. As those functions usually save data into a Python dictionary, they do not offer a scalable and shared cache data store which is needed for large applications.
When a system is distributed across a network, it also needs a cache that is distributed across a network. Nowadays, there are plenty of network servers that offer caching capability, such as memcached, Redis, and many others.
Get hands-on with 1400+ tech skills courses.