Ben Chuanlong Du's Blog

It is never too late to learn.

Serialization and Caching in Python

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

functools.lru_cache

https://docs.python.org/3/library/functools.html#functools.lru_cache

cachetools

https://cachetools.readthedocs.io/en/latest/ https://github.com/tkem/cachetools

diskcache sounds like a good options!!!

DiskCache …

Messsage Queue Implementations

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Kafka seems to be the most popular message queue currently. Redis and memcached are more suitaable for situations where you need cache in memory.

Protocols

AMQP is the Advanced Message Queuing …