Hi,
> Thank for the remark, but I already now this fact, it's because of that > I've enabled cache in Nginx. Well, this is not the proper place to discuss why nginx doesn't perform well (you should talk to nginx folks), but I suppose its not really caching the file in memory (perhaps you are just using inode caching with open_file_cache or are caching to the harddisk). > Except with apache mod_python, almost solutions to make Web apps with > Python is to use a WSGI server+reverse proxy, usually Gunicorn+Nginx. > I've replaced Nginx by HAProxy. > I don't understand your remark. My point is that HAProxy doesn't support WSGI (because its not a webserver). So if you connect HAProxy directly to python, than its because python has a HTTP interface, not because HAProxy is a WSGI capable (web) server. Python's wsgi module [1] is actually a web server, expecting HTTP sessions from the client, not WSGI sessions. Regards, Lukas [1] http://eventlet.net/doc/modules/wsgi.html

