Skip to content

Use cache for listing app sessions#37378

Merged
rosstimothy merged 1 commit intomasterfrom
tross/cache_sessions
Jan 27, 2024
Merged

Use cache for listing app sessions#37378
rosstimothy merged 1 commit intomasterfrom
tross/cache_sessions

Conversation

@rosstimothy
Copy link
Copy Markdown
Contributor

@rosstimothy rosstimothy commented Jan 26, 2024

ListAppSessions was never added to the auth.Cache interface or implemented by cache.Cache which means all session listing was using the backend as the data source. This could cause backend throttling if the number of sessions was large enough.

changelog: Prevent backend throttling caused by a large number of app sessions

ListAppSessions was never added to the `auth.Cache` interface or
implemented by `cache.Cache` which means all session listing was
using the backend as the data source. This could cause backend
throttling if the number of sessions was large enough.
@rosstimothy rosstimothy marked this pull request as ready for review January 26, 2024 22:58
@rosstimothy rosstimothy enabled auto-merge January 26, 2024 22:59
@public-teleport-github-review-bot public-teleport-github-review-bot Bot removed the request for review from AntonAM January 27, 2024 00:27
@rosstimothy rosstimothy added this pull request to the merge queue Jan 27, 2024
Merged via the queue into master with commit bf6397f Jan 27, 2024
@rosstimothy rosstimothy deleted the tross/cache_sessions branch January 27, 2024 00:46
@public-teleport-github-review-bot
Copy link
Copy Markdown

@rosstimothy See the table below for backport results.

Branch Result
branch/v13 Create PR
branch/v14 Create PR
branch/v15 Create PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants