Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Stop Tilting at Windmills - Spotting Bottlenecks

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 jmeter
Octocat-spinner-32 perfo_analysis
Octocat-spinner-32 server_configs
Octocat-spinner-32 slides
Octocat-spinner-32 .gitignore
Octocat-spinner-32 .pylintrc
Octocat-spinner-32 README.rst
Octocat-spinner-32 requirements.pip
Octocat-spinner-32 setup.py
README.rst

Stop Tilting at Windmills

You can view the slides from the presentation here.

Abstract

Performance optimization 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

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.

Something went wrong with that request. Please try again.