Skip to content

perf: Cache project lookup - #2523

Open
Luca Forstner (lforst) wants to merge 1 commit into
mainfrom
lforst/dum-e/paris-2fba4493e6
Open

Luca Forstner (lforst) wants to merge 1 commit into
mainfrom
lforst/dum-e/paris-2fba4493e6

Conversation

@lforst

@lforst Luca Forstner (lforst) commented Sep 25, 2026 •

Copy link
Copy Markdown
Member
  • Reduce repeated project lookup requests by sharing a bounded cache across loggers and imported spans. Previously, each could independently resolve the same project; now concurrent requests share one lookup, and cached results expire after 15 minutes.
  • Deduplicate simultaneous login requests during startup. Previously, callers could each send a login request before the first completed; now matching callers wait for the same request.
  • Preserve explicit forced logins, retry failed requests, and clear project caches when login context changes. Existing loggers and spans keep their resolved project IDs.

This branch has not been deployed

No deployments
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