W liście Bryan z dnia środa 04 marca 2009: > First off, thanks big time for pointing me towards repoze.profile. I > have integrated it into my app and love it. > > The total time for a request without DB stuff is about .855 CPU > seconds > The total time for a request with DB suff is about 1.470 CPU seconds > > These numbers are saying that the entire pylons request/response cycle > is only taking 1.47sec, but my client sits there waiting for a request > for about a minute, even when the client is being run on the same > machine. Could the response be getting tied up in the network layer? > Why would my use of SQLAlchemy and Mysql interfere with how long it > takes a response to get sent to a client?
I'd be more keen to suspect that some lock is held and timeouts rather than blame network, especially if output is identical in both cases, though you can check that too. What exactly is the difference between "with db" and "without db" versions, code-wise? Could you try to remove functionality by small chunks to see what lines cause the slowdown? -- Paweł Stradomski --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" 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/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
