<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->


<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">Benoit,
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">Thanks for your comment. In fact we are creating the runtime maps server side sending an array of map definitions in the
 request as you suggest. Now to reduce the load a little bit, I am only doing this for the maps that are to be visible at startup of the application. When the user switches additional layers on I add them to the session over http but in this case it’s only
 for a few layers at a time at most, so we are not experiencing any problems there.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">I am wondering, in this blogpost:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><a href="http://themapguyde.blogspot.be/2013/08/mapguide-26-feature-showcase.html" target="_top" rel="nofollow" link="external">http://themapguyde.blogspot.be/2013/08/mapguide-26-feature-showcase.html</a><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">It is mentioned that: “There are still unexplored caching opportunities on the server side that could make these response
 times even faster!” could this be related to the <i>unexplored caching opportunities</i>?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">Cheers
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" style="margin-left:5.4pt;border-collapse:collapse">
<tbody>
<tr>
<td width="151" valign="top" style="width:90.45pt;border:none;border-right:solid windowtext 1.0pt;padding:0cm 5.4pt 0cm 5.4pt">
<p class="MsoNormal" style="line-height:12.65pt"><span style="font-size:10.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><img border="0" width="78" height="78" style="width:.8166in;height:.8166in" id="Picture_x0020_3" src="http://osgeo-org.1560.x6.nabble.com/attachment/5309997/0/image001.png" alt="cid:image004.png@01CE52E4.A7D3CDA0"></span><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p></o:p></span></p>
</td>
<td width="520" style="width:11.0cm;border:none;border-right:solid windowtext 1.0pt;padding:0cm 5.4pt 0cm 5.4pt">
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Ben Savelkoul</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:12.65pt"><span style="font-size:10.0pt;font-family:"Calibri",sans-serif;color:#1F497D">0494 64 63 73 |  </span><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#0433FF"><a href="/user/SendEmail.jtp?type=node&node=5309997&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a></span><span style="font-size:10.0pt;font-family:"Calibri",sans-serif;color:#0433FF"> </span><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:12.65pt"><span style="font-size:10.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:12.65pt"><b><span style="font-size:10.0pt;font-family:"Calibri",sans-serif;color:#1F497D">GEO Solutions nv</span></b><span style="font-size:10.0pt;font-family:"Calibri",sans-serif;color:#1F497D">, Prins Boudewijnlaan
 41, 2650 Edegem</span><span style="color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:12.65pt"><span style="font-size:10.0pt;font-family:"Calibri",sans-serif;color:#0096FF"><a href="http://www.geosolutions.be/" target="_top" rel="nofollow" link="external">www.geosolutions.be</a> </span><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Calibri",sans-serif;color:#1F497D">GIS op maat van uw organisatie </span></b><span style="font-size:10.0pt;font-family:"Calibri",sans-serif;color:#1F497D">|Advies | Analyse | Ontwikkeling |
 Data</span><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p></o:p></span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Benoit Begin [via OSGeo.org] [mailto:ml-node+<a href="/user/SendEmail.jtp?type=node&node=5309997&i=1" target="_top" rel="nofollow" link="external">[hidden email]</a>]
<br>
<b>Sent:</b> dinsdag 28 februari 2017 21:07<br>
<b>To:</b> Savelkoul Ben <<a href="/user/SendEmail.jtp?type=node&node=5309997&i=2" target="_top" rel="nofollow" link="external">[hidden email]</a>><br>
<b>Subject:</b> RE: 30 seconds delay after creating +/-100 CreateRuntimeMap calls<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">One thing to keep in mind is if you are batching all those calls to the mapagent, you might be hitting the cap for simultaneously opened http requests to the same server. It's a little bit different from browser
 to browser, but typically only 4 to 8 http requests can be opened simultaneously to the same server. So since creating a runtime map can be a little bit time consuming, specially when creating so many at once, you might simply be stacking too many queries.
<br>
<br>
You could work around the issue by creating all your runtime maps server-side using php/.net and then just returning an array of all the map names you have created. This could check if the issue is creating so many maps or if it's because of too many http queries
 at once. <o:p></o:p></p>
<div class="MsoNormal" align="center" style="text-align:center">
<hr size="1" width="100%" noshade="" style="color:#CCCCCC" align="center">
</div>
<div>
<div>
<p class="MsoNormal"><b><span style="font-size:9.0pt;font-family:"Tahoma",sans-serif;color:#444444">If you reply to this email, your message will be added to the discussion below:<o:p></o:p></span></b></p>
</div>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Tahoma",sans-serif;color:#444444"><a href="http://osgeo-org.1560.x6.nabble.com/30-seconds-delay-after-creating-100-CreateRuntimeMap-calls-tp5309691p5309989.html" target="_top" rel="nofollow" link="external">http://osgeo-org.1560.x6.nabble.com/30-seconds-delay-after-creating-100-CreateRuntimeMap-calls-tp5309691p5309989.html</a>
<o:p></o:p></span></p>
</div>
<div style="margin-top:4.8pt">
<p class="MsoNormal" style="line-height:18.0pt"><span style="font-size:8.5pt;font-family:"Tahoma",sans-serif;color:#666666">To unsubscribe from 30 seconds delay after creating +/-100 CreateRuntimeMap calls,
<a href="" target="_top" rel="nofollow" link="external">
click here</a>.<br>
<a href="http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" target="_top" rel="nofollow" link="external"><span style="font-size:7.0pt;font-family:"Times New Roman",serif">NAML</span></a>
<o:p></o:p></span></p>
</div>
</div>




        
        
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://osgeo-org.1560.x6.nabble.com/30-seconds-delay-after-creating-100-CreateRuntimeMap-calls-tp5309691p5309997.html">RE: 30 seconds delay after creating +/-100 CreateRuntimeMap calls</a><br/>
Sent from the <a href="http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html">MapGuide Users mailing list archive</a> at Nabble.com.<br/>