Skip to content

Comments

feat(cache): reduce worst-case registry sync latency#9551

Merged
cschmatzler merged 2 commits intomainfrom
christoph/faster-registry-sync
Feb 20, 2026
Merged

feat(cache): reduce worst-case registry sync latency#9551
cschmatzler merged 2 commits intomainfrom
christoph/faster-registry-sync

Conversation

@cschmatzler
Copy link
Member

@cschmatzler cschmatzler commented Feb 20, 2026

Summary

  • Remove the recently_synced? guard that created a 6-hour blind window after each package sync — a second release pushed shortly after a sync would be invisible for 6 hours
  • Increase sync frequency from hourly to every 10 minutes with batch size 1000 (up from 350), reducing worst-case rotation from ~30h to ~2h for 10,200 packages
  • Move ReleaseWorker to a dedicated registry_release queue with concurrency 5 so artifact downloads don't block sync
  • Remove REGISTRY_SYNC_MIN_INTERVAL_SECONDS env var (no longer used)

Remove the recently_synced? guard that created a 6-hour blind window
after each package sync, preventing detection of rapidly successive
releases. Increase sync frequency from hourly to every 10 minutes
with a batch size of 1000 (up from 350).

Move ReleaseWorker to a dedicated registry_release queue (concurrency 5)
so release artifact downloads no longer block the sync worker.
@cschmatzler cschmatzler marked this pull request as ready for review February 20, 2026 16:46
@dosubot dosubot bot added size:M For issues that take a handful of hours to implement type:enhancement New feature or request labels Feb 20, 2026
@dosubot
Copy link

dosubot bot commented Feb 20, 2026

Related Documentation

Checked 1 published document(s) in 1 knowledge base(s). No updates required.

How did I do? Any feedback?  Join Discord

@cschmatzler cschmatzler merged commit b838717 into main Feb 20, 2026
15 of 16 checks passed
@cschmatzler cschmatzler deleted the christoph/faster-registry-sync branch February 20, 2026 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:M For issues that take a handful of hours to implement type:enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant