Hi Robert,
might be wrong, its been a few weeks since ... I think I tested mod_python, wsgi and fastcgi with a tool coming with Mapnik (following a tutorial) and got this:

1. MODPYTHON
Requests per second:    1710.09 [#/sec] (mean)
Time per request:       0.585 [ms] (mean)

2. WSGI
Requests per second:    1683.35 [#/sec] (mean)
Time per request:       0.594 [ms] (mean)

3. FastCGI
Requests per second:    2.89 [#/sec] (mean)
Time per request:       346.392 [ms] (mean)

loading in OpenLayers looked smoother to me with mod_python, only when single-tile set 'false'. obviously something went wrong with fastcgi... my bad

i will try to find out which is the fastest way on the server when i have time. I'm not the admin and apache is running on prefork-mpm, but thanks for the hint, will try your setup first.

Daniel


Am 01.09.2010 14:31, schrieb Robert Coup:
Hi Daniel,

On Thu, Sep 2, 2010 at 12:23 AM, Daniel Behr <[email protected]
<mailto:[email protected]>> wrote:


    mod_python is slightly faster than wsgi on my ubuntu machine, thats
    why i wanted to use it on the server. but wsgi is of course an
    alternative.


Under what circumstances & how are you measuring the faster-ness?

Graham (mod-wsgi) would love to hear performance problems and help
resolve them - jump on the group and post away - every post gets
answered: http://groups.google.com/group/modwsgi
In general the worker-mpm + mod-wsgi in daemon mode is mighty fast, and
the docs are comprehensive.

Rob :)


_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to