•  

Stop Tilting at Windmills - Spotting Bottlenecks

A session at DjangoCon US 2011

Wednesday 7th September, 2011

3:30pm to 4:10pm

Learn the questions to ask and the tools to use to spot performance problems in your application. We won't tell you how to scale your site, but we will show you how to locate the bottlenecks as they pop up.

Performance optimisation has always been a hot topic among the Django community, and as applications become more mature and larger companies adopt Django for high-traffic projects this issue will heat up even more. This talk will not focus on resolving performance/scalability issues but rather on discovering them. It will try to answer the following questions:

  • How do you know where the worst problems are?
  • When did the problem start, and what parts of your application are affected?
  • How do you tell the difference between the giant performance monsters and the windmills that aren't really big problems at all?

This talk will not spell out a quick and easy 5-step method to alleviating all of your performance woes. It will, however, show you ways to measure your site’s performance over time and spot the real trouble areas as they occur. It’s vital to know both your application and your user well in order to create an effective test plan. We will discuss the importance of reliable performance measurement and realistic performance tests, and walk you through the tools we use to identify and track problems.

  • Django Debug Toolbar - get internal information about what your application is doing
  • Django Debug Logging - log Debug Toolbar statistics to the database and review details and aggregated summaries.
  • Creating a cron job to run automated performance tests at regular intervals
  • Jmeter for external tool to create load tests with high concurrency
  • Integrating Jmeter with Jenkins using the performance plugin

To close up, we’ll mention some of our favorite resources on handling the performance problems that you encounter during your testing. We’ll also provide links to other tools that you can use as part of your testing efforts. With this information at your disposal you can charge boldly through the meadow on your faithful Rocinante, attacking the real performance problems and leaving the windmills behind.

About the speakers

This person is speaking at this event.
Yann Malet
This person is speaking at this event.
Brandon Konkle

Web application developer for @brainspace, supporter of social justice, avid online gamer, and enthusiastic nerd. bio from Twitter

Coverage of this session

Sign in to add slides, notes or videos to this session

Tell your friends!

When

Time 3:30pm4:10pm PST

Date Wed 7th September 2011

Short URL

lanyrd.com/shbqy

Official session page

djangocon.us/…sentations/38/

View the schedule

Share

Topics

See something wrong?

Report an issue with this session