<div dir="ltr">I don't think multiple instances of MapCache will help for seeding, in general most of the seeding time depends on the zoom level, with each higher zoom level taking 4 x the time as the proceeding zoom level (e.g. zoom 20 take 4 x the time to seed as zoom 19)  .  This can vary depending on your source service as there may be certain map scales / zoom levels that take longer per tile to render due to expression, labels, # of features etc... If you were to seed two levels for each mapcache instance you still would be waiting for the higher zoom levels to complete.   Using multiple load balanced mapserver nodes across multiple VM may improve things a bit however if all the VMs are hosted on the same physical server this may be slower overall.  For seeding I have heard you can use 2x the number of cores so you could set up a single mapcache server using -n 16 pointing at the load balanced source.<div><br></div><div>Regards</div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 18 Nov 2019 at 10:47, Sebastiano Laini <<a href="mailto:Sebastiano.Laini@buchanancomputing.co.uk">Sebastiano.Laini@buchanancomputing.co.uk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">





<div lang="EN-GB">
<div class="gmail-m_-5314020211825401210WordSection1">
<p class="MsoNormal">Hi All,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I was wondering if is possible to dockerise my server and then use multiple cluster to seed the cache? I know I can use multiple processes with the –n and –p flag though I’m wondering there is a limit on how much you can really increase
 those number.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">E.g. I dockerise the server and I spawn a 8core VM with 16GB ram, I can use sure –p 8 or maybe 10 but still I think that will require like 60 days to seed the whole UK with our data, can I spawn another machine and speed up the process?
 For example another 8core VM.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">We have 4 caches with different style that are updated twice a year so if it takes me 60 days for each by the time I finish it’s already time to start again.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I was wondering maybe I can run multiple VM and seed one or maybe 2 levels on each VM or if I spawn a new VM the original process will take advantage of the new VM?<u></u><u></u></p>
<p class="MsoNormal">In a VM I’m going to have MapServer and MapCache and I will use a subdomain under a load balancer just to seed while the domain will be use just for the seeded cache and in the same way will be under a load balancer.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Regards,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><span style="color:rgb(31,73,125)">Sebastiano Laini<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:rgb(31,73,125)">Web Developer<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:rgb(31,73,125)">Buchanan Computing<u></u><u></u></span></p>
</div>
</div>

_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/mapserver-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/mapserver-users</a></blockquote></div>