Hi all,
I'm trying to track down a performance problem with my app. This is my
setup:
Apache 2.2 (using mod_rewrite to proxy onto port 8080)
TurboGears 1.0.4.2
CherryPy 2.3.0
SQLAlchemy 0.4.2p3
MySQLdb 1.2.2

I've instrumented my code to show where the time's being spent and my
controllers and database are actually doing pretty well - no
controller takes more than 0.5 seconds from entry to exit. However,
there is a latency 5 to 10 seconds for the page loads. The
throughput's pretty low and I'm not moving much data at all (a whole
page is <400k, without clientside caching), so the problem is not with
Apache.

Therefore, the problem seems to be somewhere in between the requests
hitting port 8080 and my controller method being invoked.

My threadpool configuration:
sqlalchemy.pool_size=50
sqlalchemy.max_overflow=50
server.thread_pool = 100

Firstly, it would be great to know in general terms what happens in
between the request reaching port 8080 and hitting my controller.
Also, I'd really like some tracing information out of CherryPy seeing
as the delay seems to be in CherryPy or in the identity framework -
setting up a DEBUG logger with a 'cherrypy' qualname barely produced
any output at all...

Also posting to CherryPy list.

Thanks a lot!
James
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to