Hi,
Just realized that this didnt come from a Mapnik tool but was only apache benchmarking with 'ab -n 1000 ...' hm, does checking a WMS request with this call mapnik at all? must be somehow, as the numbers correspond to the performance of the Maps.
I think I will switch to mod_wsgi in the long run anyway...
Daniel


Am 02.09.2010 06:21, schrieb Rahkonen Jukka:
Hi,

Both mod_python and mod_wsgi numbers are amazingly high.  What is the request, 
and is is sure that Mapnik is doing something real at that speed, instead of 
facing some error or sending something from cache or something.

-Jukka Rahkonen-

Daniel Behr wrote:

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

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

Reply via email to