Chamith Malinda
Chamith Malinda

Reputation: 4529

How python-wsgi manage http requests?

I just have a problem and also be a clarification. What is the actual way that the wsgi program manage the hits coming to the application ? Are there separate threads for each request or one thread for all the requests ? Then what happen if the number of requests at a time will increase ?

I now there are some Apache configurations for threads and processes like

WSGIDaemonProcess

Also found some answers on http://code.google.com/p/modwsgi/wiki/ProcessesAndThreading

But can any one explain me how the exact way that wsgi manage the requests for the application ? How can we tune that.

Thanks

Upvotes: 1

Views: 69

Answers (1)

Graham Dumpleton
Graham Dumpleton

Reputation: 58523

Some bed time read/watching for you:

The document you already referred to should explain a lot about the process/thread model already.

Upvotes: 1

Related Questions