CGI performance
What causes slow response?
- One process per CGI invocation
- process creation (fork+exec)
- Python interpreter startup time
- importing library modules (somewhat fixable)
- Connecting to a database!
- this can be the killer if you use a real database
- Your code?
- probably not the bottleneck!