For Mapnik WMS using ogcserver component: What is the difference in
performance between running under a windows server wsgi via the
command prompt and running under a windows server mod_wsgi via apache?

Thanks,

John

On 11/9/09, John Mitchell <[email protected]> wrote:
> So then including fastcgi with the order being fastest first and slowest
> last would be:
>
> mod_wsgi > mod_python > fastcgi > cgi
>
> Correct?
>
> Just to prototype something quickly I have used wsgi as a standalone server
> but that is not mod_wsgi which goes through Apache.
>
> The mapnik documentation lists how to configure:
> wsgi,mod_python,cgi,fastcgi
> but not mod_wsgi.
>
> I don't know anything regarding mod_wsgi but I found the following
> information:
>
> mod_wsgi is an Apache module which allows Apache to serve
> WSGI-compliant applications. You can see it as an alternative to FCGI or
> CGI.
>
> How would I configure mod_wsgi?
>
> Thanks,
>
> John
>
>
>
> John
>
> On Sun, Nov 8, 2009 at 8:48 PM, Dane Springmeyer <[email protected]>
> wrote:
>
>> John,
>>
>> Generally I would assume mod_wsgi > mod_python > cgi, but I've not
>> benchmarked.
>>
>> If it is of interest to you, it would be great to see your comparisons.
>>
>> Keep in mind if you are rendering data on the fly (rather than serving
>> cached tiles) speed differences between server implementations may not be
>> noticeable.
>>
>> However, given the large size of the OSM stylesheet, which you are
>> presumably using, a server implementation that loads the map xml once
>> will
>> be significantly faster than loading the xml each request, so cgi will be
>> the slowest.
>>
>>
>> Dane
>>
>> On Nov 8, 2009, at 2:23 PM, John Mitchell wrote:
>>
>> Hi,
>>
>> I know that I have already asked the below question.
>>
>> I figured that I would ask one more time in case someone has an opinion
>>
>> http://code.google.com/p/mapnik-utils/wiki/WmsInstallGuide
>>
>> From the above link it gives you 4 choices
>>
>>
>>    - Decide whether to run as wsgi,mod_python,cgi,fastcgi (the server has
>>    wrappers for each)
>>
>> Which one is the fastest in displaying the tiles.
>>
>> Thanks,
>>
>> John
>> _______________________________________________
>> Mapnik-users mailing list
>> [email protected]
>> https://lists.berlios.de/mailman/listinfo/mapnik-users
>>
>>
>>
>
>
> --
> John J. Mitchell
>


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

Reply via email to