Skip to content

[WIP] Populate each service's data separately#50

Open
BenMusch wants to merge 6 commits into
airbnb:masterfrom
BenMusch:benmuschol--separate-jobs
Open

[WIP] Populate each service's data separately#50
BenMusch wants to merge 6 commits into
airbnb:masterfrom
BenMusch:benmuschol--separate-jobs

Conversation

@BenMusch

Copy link
Copy Markdown
Contributor

Right now, billow updates can take hours (or days) because of the size and rate limiting on our account. If a single stage in a job fails, the entire update fails and prevents any data from syncing.

This PR refactors the system so that each AWS service's data updates in its own job, so EC2 queries failing won't impact RDS data collection. A full initial build is still required on startup so we don't end up with an incomplete view of the data, but afterwards the services will update incrementally

Reviewers

@jtai @erluoli

@BenMusch

Copy link
Copy Markdown
Contributor Author

Sadly this does not seem to actually improve things in testing 😞 Will leave it running for a couple days to see

@BenMusch

Copy link
Copy Markdown
Contributor Author

Update: Does seem to be helping after some time. I also tweaked the refresh rate to be lower to avoid hammering the API

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants