Open abyrd opened 9 years ago
While working on Analyst server high over Siberia, I was faced with some true off-line usage. Observations:
On the analyst-server component, off-line mode attempts to run the analysis within the same process. I suggest we drop this feature and always require separate server / broker / worker processes to be running (that way we're testing the real integrated system, and we don't have to maintain two parallel ways of working with it), but we retain the offline mode, making it mean something else:
So the idea is to make it really work with no internet connection or hosted services, but keep the same architecture as when it's running on AWS.
Hi there! Any news on this? I've tried to use analyst-server in offline mode — set up osm-lib, uploaded gtfs, set offline mode and tried to use my local opentripplanner instance, but couldn't run any analyse.
My config looks like this:
cluster.broker=http://localhost:8080
cluster.work-offline=true
application.vex=http://localhost:9002
After I run isochrones, I'm getting Processing query...
for long time with no results.
I just wasted quite a long time trying to figure out why on earth my breakpoints were not being hit, results were appearing when workers were down, results were broken in ways my code couldn't possibly produce etc. before I realized that I had off-line mode enabled in analyst-server.
The broker's off-line mode is very useful, but the server's doesn't seem to work right and can be extremely confusing.
I'm going to add some example config files and documentation to steer people away from this problem in the future.