PyWebSF

Python Web Performance

Author:Alec Flett <alecf@flett.org>
Date:7/28/2009

What I will talk about

What I won't cover

What is performance?

Basic measurements:

Performance: latency vs throughput

Degenerate cases:

Performance: costs

Python: Challenges

Programming models: Threads

Programming models: Threads (2)

Programming models: Forked

Programming models: Daemons

Programming models: Daemons (2)

Programming models: mod_wsgi

Other Programming models: Async

Other Programming models: Async (2)

Programming models: summary

Tools & techniques

Scaling

Horizontal scaling

Architecture for Horizontal Scaling

Deployment

Classic stack: