I am new to caching in Python and unable to understand the differences between dogpile.cache.dbm
, dogpile.cache.pylibmc
, and dogpile.cache.memcached
. Could someone please explain it?
Asked
Active
Viewed 770 times
0

MarredCheese
- 17,541
- 8
- 92
- 91

archura
- 1,053
- 1
- 10
- 12
1 Answers
3
dogpile.cache
has unified interface for different caching backends – meaning that your data can be stored in different places, while library will provide you same functionality for all of them.
dbm
is for generic database backendpylibmc
is for memcached viapylibmc
clientmemcached
is for same memcached system, but through different python driver –python-memchached
You can see all available backends in documentation

Slam
- 8,112
- 1
- 36
- 44