https://github.com/lincolnloop/windmills
Stop Tilting at Windmills - Spotting Bottlenecks
https://github.com/lincolnloop/windmills
Last synced: about 1 year ago
JSON representation
Stop Tilting at Windmills - Spotting Bottlenecks
- Host: GitHub
- URL: https://github.com/lincolnloop/windmills
- Owner: lincolnloop
- Created: 2011-08-01T07:39:26.000Z (almost 15 years ago)
- Default Branch: master
- Last Pushed: 2011-11-29T21:29:14.000Z (over 14 years ago)
- Last Synced: 2025-02-15T10:53:38.676Z (over 1 year ago)
- Language: Python
- Homepage: http://lincolnloop.github.com/windmills
- Size: 1.9 MB
- Stars: 1
- Watchers: 14
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
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.