-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Auto-scaled workers repeatedly perform car linking #503
Comments
@ansoncfit pointed out this commented out code in LinkedPointSet that seems very relevant:
This is being uncommented in PR #463 to reinstate this sanity check. |
After running a single point analysis with CAR+WALK over a whole region, I changed the geographic extents of analysis. In single point analysis this changes the destination grid extents. I would expect relinking to be instantaneous since it's just using a subgrid of the existing full-region CAR grid. However, it relinks the CAR apparently because it doesn't have a linkage in cache for the baseline network. I would expect that baseline linkage to have been saved when the full-region single point analysis was done. The original issue reported in this ticket could be related to #514. Regional workers were not applying any scenario (due to #518). This causes it to seek linkages for the true baseline (no scenario) rather than an empty baseline scenario with its own ID. If the CAR linkage for the baseline street network was never saved into the cache, it would be built for every single request. |
I'm running a regional analysis on staging of the Basel region, using a car-wait modification. It automatically scaled up to 100 workers. The original worker on which I performed single point requests is working fine, handling over 200 tasks per minute. All the other auto-scaled workers are very slow, mostly at about 5 tasks per minute. Inspection of their logs reveals that they are continuously re-performing the car linkage. The car linkage is apparently being sought on a different street layer instance for every task, and these linkages are being evicted.
Filtering one worker's log for "CAR" we see:
The text was updated successfully, but these errors were encountered: