<div dir="ltr">Hi Peter, <div><br></div><div>Ok cool, Possibly running another instance of Graphhopper to prepare the graphs, then just bring the main instance down for a minute or so might also work. I might use this method on the Philippines as I have a 4 Gig 32Bit Win Server Machine but Java only uses 1G anyway. :)<div>

<br></div><div>Cheers</div><div><br></div><div>Mark</div></div></div><div class="gmail_extra"><br clear="all"><div><div dir="ltr"><div><br></div><div>Regards</div><div><br></div><div>Mark Cupitt</div><div><br></div><div>
<div>
"If we change the world, let it bear the mark of our intelligence"</div><div><br></div><div><a href="https://www.openstreetmap.org/user/Mark_Cupitt" target="_blank">See me on Open Street Map</a><br></div><div><a></a><div>

<br></div></div><div><a href="http://ph.linkedin.com/in/markcupitt" target="_blank">See me on LinkedIn</a><br><img src="http://s.c.lnkd.licdn.com/scds/common/u/img/webpromo/btn_myprofile_160x33.png"><br></div><span style="font-family:arial black,sans-serif"><div>

<span style="font-family:arial black,sans-serif"><br></span></div><b><a href="http://gis.stackexchange.com/users/17846/mark-c" target="_blank">See me on StackExchange</a><br></b></span><img src="http://gis.stackexchange.com/users/flair/17846.png"><br>

</div><div>===============================================================================================</div><div>The contents of this email are intended only for the individual(s) to whom it is addressed and may contain</div>

<div>confidential or privileged information.  If you are not the intended recipient, you must not disclose, copy, distribute,</div><div>or use the contents of this email.  If you have received this email in error, please notify the sender immediately and</div>

<div>delete the email and any attachments.<br></div><div>
===============================================================================================
</div></div></div>
<br><br><div class="gmail_quote">On Wed, May 14, 2014 at 3:03 PM, Peter K <span dir="ltr"><<a href="mailto:peathal@yahoo.de" target="_blank">peathal@yahoo.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <div>Hey Mark,<br>
      <br>
      restarting could be done in several 'flavours'. One use case would
      be to refresh the files in-memory and just swap the GraphHopper
      instances which requires CPU and RAM on the same machine but
      involves no down-time - so very nice but only for rather small
      areas. Another usecase could be as you describe but the problem is
      that the import and preparation could be too long to be
      acceptable.<br>
      <br>
      So I currently don't think this can be handled within GraphHopper
      itself and is easily implemented outside of it.<br>
      <br>
      Regards,<br>
      Peter.<br>
      <br>
    </div>
    <blockquote type="cite"><div><div class="h5">
      <div dir="ltr">Hi Peter, I am just installing the new Graphhopper
        in a windows Server environment and it works well under cygwin
        <div><br>
        </div>
        <div>I intend to update the graphs on a weekly basis (2G Asia
          pbf) and a simple question, </div>
        <div><br>
        </div>
        <div>If I download the new pbf file and overwrite the old file,
          will graphhopper automatically detect the new file (date stamp
          diff) or do I need to stop graphhopper, delete the graphs and
          restart graphhopper to trigger the rebuild?</div>
        <div><br>
        </div>
        <div>If it is the second case, I guess at some stage in the
          future it may be useful to have some kind of semaphore file or
          other trigger that could cause the rebuild of the graph
          without having ot kill graphhopper to help with the background
          automatic updating? Of course, the system woudl have to return
          Not Available to any calls whilst the graph was being rebuilt.<br clear="all">
          <div>
            <div dir="ltr">
              <div><br>
              </div>
              <div>Am interested in your thoughts on the best way to go.</div>
              <div><br>
              </div>
              <div>Cheers</div>
              <div><br>
              </div>
              <div>Mark Cupitt</div>
              <div><br>
              </div>
              <div>
                <div>"If we change the world, let it bear the mark of
                  our intelligence"</div>
                <div><br>
                </div>
                <div><a href="https://www.openstreetmap.org/user/Mark_Cupitt" target="_blank">See me on Open Street Map</a><br>
                </div>
                <div>
                  <div><br>
                  </div>
                </div>
                <div><a href="http://ph.linkedin.com/in/markcupitt" target="_blank">See me on LinkedIn</a><br>
                  <img src="http://s.c.lnkd.licdn.com/scds/common/u/img/webpromo/btn_myprofile_160x33.png"><br>
                </div>
                <span style="font-family:arial black,sans-serif">
                  <div><span style="font-family:arial black,sans-serif"><br>
                    </span></div>
                  <b><a href="http://gis.stackexchange.com/users/17846/mark-c" target="_blank">See me on StackExchange</a><br>
                  </b></span><img src="http://gis.stackexchange.com/users/flair/17846.png"><br>
              </div>
              <div>===============================================================================================</div>
              <div>The contents of this email are intended only for the
                individual(s) to whom it is addressed and may contain</div>
              <div>confidential or privileged information. If you are
                not the intended recipient, you must not disclose, copy,
                distribute,</div>
              <div>or use the contents of this email. If you have
                received this email in error, please notify the sender
                immediately and</div>
              <div>delete the email and any attachments.<br>
              </div>
              <div>
===============================================================================================
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      </div></div><pre>_______________________________________________
GraphHopper mailing list
<a href="mailto:GraphHopper@openstreetmap.org" target="_blank">GraphHopper@openstreetmap.org</a>
<a href="https://lists.openstreetmap.org/listinfo/graphhopper" target="_blank">https://lists.openstreetmap.org/listinfo/graphhopper</a><span class="HOEnZb"><font color="#888888">
</font></span></pre><span class="HOEnZb"><font color="#888888">
    </font></span></blockquote><span class="HOEnZb"><font color="#888888">
    <br>
    <br>
    <pre cols="72">-- 
GraphHopper.com - Fast & Flexible Road Routing</pre>
  </font></span></div>

<br>_______________________________________________<br>
GraphHopper mailing list<br>
<a href="mailto:GraphHopper@openstreetmap.org">GraphHopper@openstreetmap.org</a><br>
<a href="https://lists.openstreetmap.org/listinfo/graphhopper" target="_blank">https://lists.openstreetmap.org/listinfo/graphhopper</a><br>
<br></blockquote></div><br></div>