SL-1950: Increase geo backfill batch size and frequency - #74537
Merged
Conversation
sureshc
reviewed
Aug 11, 2026
| # Backfills geolocation data for anonymous project storages every 15 minutes from 02:00 to 11:45 UTC. | ||
| cronjob at: '*/15 2-11 * * *', do: "#{deploy_dir('bin', 'cron', 'perform_job')} ProjectStorage::AnonymousGeoBackfillingJob '{\"limit\": 100000}'" | ||
| # Backfills geolocation data for anonymous project storages in batches of 150k every 10 minutes from 02:00 to 11:50 UTC. | ||
| cronjob at: '*/10 2-11 * * *', do: "#{deploy_dir('bin', 'cron', 'perform_job')} ProjectStorage::AnonymousGeoBackfillingJob '{\"limit\": 150000}'" |
Contributor
There was a problem hiding this comment.
Is it worth making the batch size a DCDO setting?
Member
Author
There was a problem hiding this comment.
I thought about this too, but I do not think we need it yet. If we start seeing significant spikes and need to adjust the batch size frequently, it would make sense to move it to DCDO. Since the backfill has been relatively smooth so far, I would prefer to keep these changes tracked through the code history and PRs
sureshc
approved these changes
Aug 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Increases the geo backfill batch size from 100,000 to 150,000 records and changes the schedule from every 15 minutes to every 10 minutes.
Based on the first day's logs, jobs processing 100,000 records are consistently completing in about 5–6 minutes, which gives us enough headroom to increase both the batch size and frequency.
With the 10-hour daily backfill window, this increases throughput from about 4 million to 9 million records per day, reducing the estimated time to backfill all 90 million records from roughly 23 days to about 10 days.
Links