Friday, March 22, 2013

Re: Automated Django benchmarking with New Relic

What people do all the time is edit their settings file on their deployed box and simple restart django (say by touching the wsgi script, or restarting apache or nginx or whatever).

On Thu, Mar 21, 2013 at 9:47 PM, Alan Johnson <alan@breakrs.com> wrote:
I've got a Django web app with a complicated data model that's experiencing performance issues. Using New Relic, I was pretty much instantaneously able to isolate what the problem to a particular query. But there are a number of different solutions I can try. What I'd like to do is be able to benchmark the efficacy of different solutions in various combinations.

In my mind, one way of doing this by hand would be to make a Django model that stores configuration flags outside of my settings file, so I could change them through the admin instead of redeploying. Then I could monitor New Relic and record the metrics into a spreadsheet, or something.

But I feel like that would be a poor reinvention of something people probably do all the time. Is there a good methodology for doing this without a whole bunch of manual labor? I'd prefer New Relic, since I already know how to measure my problem with it, but I'm open to other options.

(cross posted at http://stackoverflow.com/questions/15558728/django-new-relic-performance-benchmarking/15560582?noredirect=1#15560582, in case anyone wants points)

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment