Skip to content

Comments

sentinel prewarm cache#5071

Draft
chronark wants to merge 10 commits intomainfrom
sentinel-prewarm-cache
Draft

sentinel prewarm cache#5071
chronark wants to merge 10 commits intomainfrom
sentinel-prewarm-cache

Conversation

@chronark
Copy link
Collaborator

@chronark chronark commented Feb 18, 2026

cold starts are pretty annoying for latency, because sentinels need multiple round trips to the db for the first request

sentinels now preload deployment and instance data to populate their cache when they boot up.

@vercel
Copy link

vercel bot commented Feb 18, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
dashboard Ready Ready Preview, Comment Feb 18, 2026 0:12am
engineering Ready Ready Preview, Comment Feb 18, 2026 0:12am

Request Review

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 18, 2026

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch sentinel-prewarm-cache

Comment @coderabbitai help to get the list of available commands and usage tips.

// deploymentID -> deployment
deploymentCache cache.Cache[string, db.Deployment]
instancesCache cache.Cache[string, []db.Instance]
// deploymentID -> instances
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this caught me, I thought it was the instanceid, so I documented it

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.

1 participant