by Adam Nelson
Lettuce, adapted from Ruby's Cucumber, is a behavior driven development (BDD) testing suite that sits on top of Splinter - a web driver for simulating real-world usage of your site. Learn the ins and outs of BDD using Lettuce and Splinter for rapid deployment.
Yipit uses Lettuce and Splinter to simulate users moving through the actual site under different scenarios. Unlike unit testing, this allows a tester to find problems at various levels (including Javascript and HTML defects) and under various situations specific to a browser environment. This talk will introduce various tools available right now as well as how to write extensible tests for a production environment. Ways to integrate testing into the release process will also be discussed.
by Sandy Strong
“Code not tested is broken by design” - Jacob Kaplan-Moss Every programming project has unique testing needs. It’s not always easy to understand what those needs are, or how to write tests that satisfy them. One of our goals as developers is to write tests that minimize failures in production that can cost our companies time, money, resources, and in many cases, hours of sleep!
Every programming project has unique testing needs. It’s not always easy to understand what those needs are, or how to write tests that satisfy them. One of our goals as developers is to write tests that minimize failures in production that can cost our companies time, money, resources, and in many cases, hours of sleep!
by Frank Wiles
PostgreSQL is effectively the default RDBMS for Django. Learn the dark arts of optimizing this powerful database to be blazingly fast on your own hardware or in the cloud.
PostgreSQL has been the default recommended database since Django was initially released. Learn the dark arts of optimizing this powerful database. Both in general use cases and specifically for Django.
In this talk you'll learn:
->Things to avoid
-double duty servers
-disk contention
-unnecessary queries
->The "Big 3" configuration options you should always adjust
- shared_buffers
- effective_cache_size
- random_page_cost
->Other useful configuration options
->Hardware considerations
- RAM, disks, and CPU
- Rackspace Cloud vs Amazon EC2
- tablespaces
- SSDs
-> Common Django ORM issues
- Slow count() operations
-> Indexing Tips and Tricks
- Index types
- Multi-column indexes
- Partial indexes
-> Performance Tools you can use
-> The "Dark Arts"
- Planner Statistics
- materialized views
- crazy replication