<div dir="ltr">Main pain is traffic and number of connections.<br>If traffic is roughly the same in all cases, and number of connections is the same (you're not reconnecting and using one thread) then there's effectively no difference. <br>Let the throttling be implemented server-side if it is needed.</div><br><div class="gmail_quote"><div dir="ltr">пн, 28 нояб. 2016 г. в 16:35, Oliver Tonnhofer <<a href="mailto:olt@bogosoft.com">olt@bogosoft.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br class="gmail_msg">
<br class="gmail_msg">
> On 28.11.2016, at 13:44, Yves <<a href="mailto:yvecai@gmail.com" class="gmail_msg" target="_blank">yvecai@gmail.com</a>> wrote:<br class="gmail_msg">
><br class="gmail_msg">
> I think you could take daily and hourly diffs first to cope with the import and last planet delay.<br class="gmail_msg">
<br class="gmail_msg">
That would make the implementation much more complex (what is the first hourly diff after a complete day?). It would also not reduce the bandwidth by much, as it still needs to download the same data. The code also uses keep-alive connections during the catch-up phase to reduce the load.<br class="gmail_msg">
<br class="gmail_msg">
The code is already working and behaves similar to --read-replication-interval from osmosis (as far as I unterstand). So I'm just asking what is acceptable: 10 requests/s? 100 requests/s?<br class="gmail_msg">
<br class="gmail_msg">
Regards,<br class="gmail_msg">
Oliver<br class="gmail_msg">
<br class="gmail_msg">
--<br class="gmail_msg">
Oliver Tonnhofer | Omniscale GmbH & Co KG | <a href="https://omniscale.com" rel="noreferrer" class="gmail_msg" target="_blank">https://omniscale.com</a><br class="gmail_msg">
OpenStreetMap WMS and tile services | <a href="https://maps.omniscale.com" rel="noreferrer" class="gmail_msg" target="_blank">https://maps.omniscale.com</a><br class="gmail_msg">
_______________________________________________<br class="gmail_msg">
dev mailing list<br class="gmail_msg">
<a href="mailto:dev@openstreetmap.org" class="gmail_msg" target="_blank">dev@openstreetmap.org</a><br class="gmail_msg">
<a href="https://lists.openstreetmap.org/listinfo/dev" rel="noreferrer" class="gmail_msg" target="_blank">https://lists.openstreetmap.org/listinfo/dev</a><br class="gmail_msg">
</blockquote></div>