Skip to content
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

Resume harvest on failure #41

Open
tmaiaroto opened this issue Aug 17, 2014 · 1 comment
Open

Resume harvest on failure #41

tmaiaroto opened this issue Aug 17, 2014 · 1 comment

Comments

@tmaiaroto
Copy link
Member

The harvester will need to be able to resume on failure. If a server restarts for whatever reason and the harvest didn't finish, it should restart the harvest the next time the harvester starts.

Given the harvester would need to come back online within a few minutes and not all data could ever be captured anyway...It's still something we need. Otherwise, if the schedule is every hour to harvest - a lot could be missed.

The tricky part is reading the last harvest time from the database is fine and all, but if there's multiple harvesters...But that's still a problem that needs to be resolved anyway. Multiple harvesters might only be good for harvesting more territories - not so much the same territory. The reason is mainly due to rate limiting. Though staggering them might help.

Either way, the harvester should recover and pick things back up after a failure.

@tmaiaroto tmaiaroto added this to the Backlog milestone Aug 17, 2014
@tmaiaroto
Copy link
Member Author

Design the microservice architecture in mind with this. It can be more fault tolerant and limit failures.

@tmaiaroto tmaiaroto modified the milestones: Beta, Backlog May 20, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant