I have a rather small (about 4.5 thousand pages per day) website running on Django, with PostgreSQL 8.3 as db.
I use the database both cache and sesssion server. I heard a lot of good things about how to use Memcached for this purpose, and I would definitely like to try. However, I would like to know exactly what the benefits of this change will be: I assume that my site may not be large enough to make better use of the backend for the cache. The fact is that I will not install and configure memcached, and I do not want to waste time trying to get nothing or a little.
How can I measure the overhead introduced with db as a cache backend? I looked at the django-debug toolbar, but if I understand correctly, you do not want to host the production site (you need to set DEBUG=True for it to work). Unfortunately, I canβt reproduce the settings on my laptop (I have a different OS, processor and a lot more RAM).
Does anyone compare different Django cache / session servers? Does anyone know what will be the difference in performance if I do, for example, one session record for each request?
source share