Using cmemcache - not a good idea?
Hey Folks - I did load testing on my amazon ec2 ubuntu+django+postgresql+memcached setup. I discovered that under load, cmemcache seems to fail on get cache requests. It causes django to make a bunch of set cache calls, even though the key exists in memcached. switching to python-memcache fixed this problem The django docs seem to recommend using cmemcache - even though it has not been updated in a long time. It is supposedly faster than the pure python library (it uses the c libmemcache). It looks to me like there are serious problems with it that would have caused a big headache had I not also been monitoring memcached while load testing. Anybody have anything to add to this? Ryan Mark -- Ryan Mark http://ryan-mark.com 847 691 8271 --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: [Solved] Re: Make dev server respond on multiple IPs?
python manage.py runserver 0.0.0.0:8000 should bind the dev server to every IP on the machine On Tue, Sep 1, 2009 at 3:27 PM, ringemup wrote: > > Never mind, I figured it out. Just need to start a separate instance > for each IP. > > On Sep 1, 4:26 pm, ringemup wrote: >> I've got some screwy DNS stuff going on on my local machine and need >> the development server to respond to requests on two IP addresses at >> once (127.0.0.1 and 192.168.1.7). Is there any way to wrangle that? >> >> Thanks! > > > -- Ryan Mark http://ryan-mark.com 847 691 8271 --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
getting a view function from a view name
Any thoughts as to how I could get the view function from a url name? Is there something like django.core.urlresolvers.resolve() that takes a url name and returns a view function? Thanks! -- Ryan Mark -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@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.