I have a test server which is running the db and django app (apache/
mod_python). Before moving to production, I'm running stress tests and
optimizing performance. My plan is to optimize on the test box, see
what works, then implement these on production which is separate db
and app servers.

Here's what I did today to test memcached:
- ran stress test using siege before installing memcached
- installed memcached on separate machine, opened port 11211, started
daemon
- pointed test server to memcached box using method in django docs
- restarted apache/django on test box
- ran siege again (a few times just to be sure)

The result? No difference. Memcached does not provide any benefit
according to my testing. I have siege set to log in as a user, then
hit a single page which makes several db calls. The memcached server
shows no movement in CPU, memory, or network usage which makes me
wonder if I even have things set up correctly at all.

Is there a way to check memcached to see if it is functioning
correctly? I tried entering a bogus ip in the CACHE_BACKEND setting in
settings.py and nothing changed. Django restarted normally with no
errors.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to