<HTML><BODY>Thank you very much, Sven.<br><br>Is it right to use FastCGI for less resource consumption?<br>What language of MapScript is more suitable the best performance?<br><br>Regards.<br><br><blockquote style="border-left:1px solid #0857A6; margin:10px; padding:0 0 0 10px;"><br>
        <div id="">






<div class="js-helper js-readmsg-msg">
        <style type="text/css"></style>
        <div>
                <base target="_self" href="https://e.mail.ru/">
                
            <div id="style_15375224000000000729_BODY">Hi Vladimir,<br>
<br>
the fastest way is probably the CGI variant. You write your mapfiles and deliver the data via mapserv and the corresponding parameters.<br>
In the case of PHP you have to build a wrapper, which is no problem. If your server runs under windows, this is the better variant, because many firewalls close when you call mapserv.exe.<br>
When it comes to custom programming, the php (or python or C# or Java) variant has more influence.<br>
<br>
Greetings<br>
Sven<br>
<br>
<br>
<br>
Von: mapserver-users [mailto:mapserver-users-bounces@lists.osgeo.org] Im Auftrag von Vladimir<br>
Gesendet: Freitag, 21. September 2018 09:51<br>
An: mapserver-users<br>
Betreff: [mapserver-users] What is the best way to generate WMS?<br>
<br>
Hi list,<br>
<br>
There are several tables with a lot of objects in PostGis database.<br>
Fields of the tables contain styles(color, width etc)<br>
<br>
The goal is fast getting a single image(WMS) on client .<br>
I am aware about two ways to do it:<br>
mapserv as FactCGI and some kind of MapScript(PHP in my case)<br>
<br>
What is the best for performance?<br>
Is there more productive way? <br>
<br>
Regards.<br>
<br>
</div>
            
        
                <base target="_self" href="https://e.mail.ru/">
        </div>

        
</div>


</div>
</blockquote>
<br></BODY></HTML>