<div dir="ltr"><div>David,<br></div><div><div><br></div><div>According to the doc you could try using the ArcGIS tiles as a source which may increase your caching performance. </div><div><br></div><div><a href="https://mapproxy.org/docs/nightly/sources.html#tiles">https://mapproxy.org/docs/nightly/sources.html#tiles</a><br></div><div>see arcgiscache_path</div></div><div><br></div><div><br></div><div>We are using riak in a 5 node cluster N=3 with a leveldb backend, we found that the bitcask memory footprint was unrealistic.  We went with the default 64 partitions which maybe should have been increased to 128. We've found that debugging issues and simply accessing the data a little more difficult than expected and required scripting to perform basic queries / tasks.  That being said the cluster is performing very well on both read / writes <br></div><div><br></div><div>We did also briefly test couchdb and found that it worked well, I would have preferred it over riak but outside factors forced our decision.</div><div><br></div><div>If I was you I would still try a sqlite based cache first to see if it meets your need.</div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 8 June 2017 at 17:53, Andrew, David (DPFEM) <span dir="ltr"><<a href="mailto:David.Andrew@dpfem.tas.gov.au" target="_blank">David.Andrew@dpfem.tas.gov.au</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="EN-AU" link="blue" vlink="purple">
<div class="m_4926421245173236776WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Hi Travis,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">I need to supply a selection of base maps in a 24/7 configuration from the same datacentre as the applications servers.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">The application reading htem is an olderversion of geoserver, which cannot directly connect to arcgis.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">The source is
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Tahoma",sans-serif"><a href="http://services.thelist.tas.gov.au/arcgis/rest/services/Basemaps/Orthophoto/ImageServer" target="_blank">http://services.thelist.tas.<wbr>gov.au/arcgis/rest/services/<wbr>Basemaps/Orthophoto/<wbr>ImageServer</a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">yes to ARCGIS as a WMS source for MapProxy.<u></u><u></u></span></p><span class="">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><u></u> <u></u></span></p>
<p class="MsoNormal" style="background:white"><b><span lang="EN-US" style="font-size:11.0pt;font-family:"Arial",sans-serif;color:black">David Andrew</span></b><span lang="EN-US" style="font-size:11.0pt;font-family:"Arial",sans-serif;color:black"><u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:11.0pt;font-family:"Arial",sans-serif;color:black">IT Services – Enterprise Systems<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:11.0pt;font-family:"Arial",sans-serif;color:black">Business and Executive Services<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:7.0pt;font-family:"Arial",sans-serif;color:black"> <u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#7f7f7f">Department of Police, Fire and Emergency Management<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#7f7f7f">Cnr Argyle and Melville Streets, Hobart TAS 7000<u></u><u></u></span></p>
<p class="MsoNormal"><a href="mailto:David.Andrew@police.tas.gov.au" target="_blank"><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#2e74b5">David.Andrew@police.tas.gov.au</span></a><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#2e74b5"><wbr>| </span><a href="http://www.dpfem.tas.gov.au/" target="_blank"><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#0563c1">www.dpfem.tas.gov.au</span></a><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#2e74b5"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><u></u> <u></u></span></p>
</span><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"> Travis Kirstine [mailto:<a href="mailto:traviskirstine@gmail.com" target="_blank">traviskirstine@gmail.<wbr>com</a>]
<br>
<b>Sent:</b> 08 June 2017 22:26<br>
<b>To:</b> Andrew, David (DPFEM) <<a href="mailto:David.Andrew@dpfem.tas.gov.au" target="_blank">David.Andrew@dpfem.tas.gov.au</a><wbr>><br>
<b>Cc:</b> <a href="mailto:mapproxy@lists.osgeo.org" target="_blank">mapproxy@lists.osgeo.org</a><br>
<b>Subject:</b> Re: [MapProxy] FW: Which cache is better<u></u><u></u></span></p><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">David,<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">If your primary concern is interoperability and portability I would look at mbtiles or geopackage.  Both cache types store the tiles in a single file which could be used in a few platforms and easily backed up.  The only issue with these
 caches (sqlite) it a tendency to lock up during heavy concurrent writes, mapproxy has implemented bulk writing to help address this issue for mbtiles (not sure about geopackage).  If your users are using a fully seeded cache this won't be a big issue.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">When you indicate that it takes 2 weeks to download the cache from ArcGIS do you me that you are using ArcGIS as a WMS source for MapProxy?<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Regards<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On 8 June 2017 at 00:29, Andrew, David (DPFEM) <<a href="mailto:David.Andrew@dpfem.tas.gov.au" target="_blank">David.Andrew@dpfem.tas.gov.au</a><wbr>> wrote:<u></u><u></u></p>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt">
<div>
<div>
<p class="MsoNormal">Hi all,<u></u><u></u></p>
<p class="MsoNormal">Totally a newbie regarding all things GIS<u></u><u></u></p>
<p class="MsoNormal">I’m trying to establish which cache type is better for a photo cache.<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">I’m looking to cache the orthographic photo maps for the state of Tasmania Australia, to a zoom level of 18<u></u><u></u></p>
<p class="MsoNormal">This will then be used by the new emergency services application to have an offline pre seeded copy.<u></u><u></u></p>
<p class="MsoNormal">Around 30 clients, up to 50 in a peak load like New Years eve.<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">I cannot seem to find anything that defines which cache style would be better or worse.<u></u><u></u></p>
<p class="MsoNormal">CouchDB seems interesting and replicatable<u></u><u></u></p>
<p class="MsoNormal">Riak seem like very fast fetch<u></u><u></u></p>
<p class="MsoNormal">Geopackage looks like we can copy the flat file once we get it.<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">If anyone has any numbers around which is better that would be great.<u></u><u></u></p>
<p class="MsoNormal">At the moment to download the cache takes a week or 2 for levels 17-18 from an arcgis server(10.31 newer than the cache option allow)<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">Thanks in advance<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal" style="background:white">
<b><span lang="EN-US" style="font-family:"Arial",sans-serif;color:black">David Andrew</span></b><u></u><u></u></p>
<p class="MsoNormal" style="background:white">
<span lang="EN-US" style="font-family:"Arial",sans-serif;color:black">IT Services – Enterprise Systems</span><u></u><u></u></p>
<p class="MsoNormal" style="background:white">
<span lang="EN-US" style="font-family:"Arial",sans-serif;color:black">Business and Executive Services</span><u></u><u></u></p>
<p class="MsoNormal" style="background:white">
<span lang="EN-US" style="font-size:7.0pt;font-family:"Arial",sans-serif;color:black"> </span><u></u><u></u></p>
<p class="MsoNormal" style="background:white">
<span lang="EN-US" style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#7f7f7f">Department of Police, Fire and Emergency Management</span><u></u><u></u></p>
<p class="MsoNormal" style="background:white">
<span lang="EN-US" style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#7f7f7f">Cnr Argyle and Melville Streets, Hobart TAS 7000</span><u></u><u></u></p>
<p class="MsoNormal"><a href="mailto:David.Andrew@police.tas.gov.au" target="_blank"><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#2e74b5">David.Andrew@police.tas.gov.au</span></a><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#2e74b5"><wbr>| </span><a href="http://www.dpfem.tas.gov.au/" target="_blank"><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial",sans-serif">www.dpfem.tas.gov.au</span></a><u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div class="MsoNormal" align="center" style="text-align:center">
<hr size="2" width="100%" align="center">
</div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:gray"><br>
CONFIDENTIALITY NOTICE AND DISCLAIMER<br>
The information in this transmission may be confidential and/or protected by legal professional privilege, and is intended only for the person or persons to whom it is addressed. If you are not such a person, you are warned that any disclosure, copying or dissemination
 of the information is unauthorised. If you have received the transmission in error, please immediately contact this office by telephone, fax or email, to inform us of the error and to enable arrangements to be made for the destruction of the transmission,
 or its return at our cost. No liability is accepted for any unauthorised use of the information contained in this transmission.</span><u></u><u></u></p>
</div>
<p class="MsoNormal"><br>
______________________________<wbr>_________________<br>
MapProxy mailing list<br>
<a href="mailto:MapProxy@lists.osgeo.org" target="_blank">MapProxy@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/mapproxy" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/mapproxy</a><u></u><u></u></p>
</blockquote>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div></div></div><div><div class="h5">
<br>
<hr>
<font face="Arial" color="Gray" size="1"><br>
CONFIDENTIALITY NOTICE AND DISCLAIMER<br>
The information in this transmission may be confidential and/or protected by legal professional privilege, and is intended only for the person or persons to whom it is addressed. If you are not such a person, you are warned that any disclosure, copying or dissemination
 of the information is unauthorised. If you have received the transmission in error, please immediately contact this office by telephone, fax or email, to inform us of the error and to enable arrangements to be made for the destruction of the transmission,
 or its return at our cost. No liability is accepted for any unauthorised use of the information contained in this transmission.<br>
</font>
</div></div></div>

</blockquote></div><br></div>