[Web-SIG] WSGI 2.0
James Y Knight
foom at fuhm.net
Sun Oct 7 08:45:46 CEST 2007
On Oct 6, 2007, at 10:33 AM, Robin Bryce wrote:
> An async
> server should have no problem with synchronous applications that
> *dont* use wsgi.input yes ?
That's certainly not the case. One of the more popular things to do
in a webapp is talk to a database. Most such accesses are done in a
blocking fashion. Doing blocking database access in an asynchronous
server's event loop is a pretty poor idea. I mean, sure, it'd
probably "work", but your performance would be terrible...
More information about the Web-SIG