Skip to content

perf: Cache project lookup - #2523

Merged
Luca Forstner (lforst) merged 4 commits into
mainfrom
lforst/dum-e/paris-2fba4493e6
Sep 28, 2026
Merged

Luca Forstner (lforst) merged 4 commits 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.

@lforst
Luca Forstner (lforst) merged commit a23cf03 into main Sep 28, 2026
57 checks passed
@lforst
Luca Forstner (lforst) deleted the lforst/dum-e/paris-2fba4493e6 branch September 28, 2026 16:44
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