--
You received this message because you are subscribed to the Google Groups "OpenTripPlanner Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to opentripplanner-...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hello,You have a few options.1. Build the new graph, restart OTP with the new graph (causes downtime while the new instance starts up).2. Build the new graph, start a new instance of OTP with that new graph, switch your reverse proxy over to the new instance once it’s loaded (avoids downtime but would require some manual effort)3. Build the new graph, then signal the server to reload the new graph and swap it over the existing one. This can be done with downtime (while the new graph loads) or without downtime (by loading the entire new graph before it’s swapped in, which takes twice as much memory).4. Push a bundle of data to the running OTP server, which will then build a graph and swap it in.You can probably come up with even more workflows. See class org.opentripplanner.api.resource.Routers for this “routers API” for options 3 and 4 and relevant endpoints. These endpoints are obviously dangerous, so are only accessible with authentication over HTTPS. See http://opentripplanner.readthedocs.io/en/latest/Security/ for how to set that up.However if you just want a highly available OTP router for the whole Netherlands you may want to check with Plannerstack, who work closely with OVAPI to provide such a router. You can find more information at http://www.plannerstack.com/. This is a commercial service but run by a group of FOSS-friendly people so depending on your goals and motivations lower-cost collaboration may be possible.Regards,Andrew
On 25 Oct 2017, at 10:03, Enrico Rotundo <enrico...@gmail.com> wrote:
I'm deploying OpenTripPlanner 1.2.0 using this Docker container. I need graph persistence so I'm not using the --inMemory flag: first I run `--build` and then `--server`. At building time I have a GTFS (static) file in the build directory that contains scheduled trips of roughly 3 months; how do I update the graph in the background and re-load it into OpenTripPlanner?I could do:
- Fetch the latest archive with `wget http://gtfs.ovapi.nl/new/gtfs-nl.zip`
- Build graph
- Re-load OTP instance with new graph
Is there an automatic procedure I can use instead?--
You received this message because you are subscribed to the Google Groups "OpenTripPlanner Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to opentripplanner-users+unsub...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to opentripplanner-...@googlegroups.com.To view this discussion on the web visit https://groups.google.com/d/msgid/opentripplanner-users/b0f221cf-096c-4369-bdbf-10de0018b523%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to opentripplanner-users+unsub...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to opentripplanner-...@googlegroups.com.To view this discussion on the web visit https://groups.google.com/d/msgid/opentripplanner-users/f5596f64-1a44-4cf0-9811-47e136de997e%40googlegroups.com.