python - Improving performance of cgi -


I have 5 Python CGI pages. I can navigate from one page to another, from all the pages to the same database table Their data is that they use different questions.

The problem is that the application is slow as a whole though they connect to the same database, every time I see it every page, then creates a new handle and handles shared by pages Is not done.

I want to improve performance.

I

thanks

for each request CG requires a new interpreter, and then all resources such as DB connections are acquired and released.

Or to allow you to continue the same process between performance improvements requests by allowing


Comments