Skip to content

Add server-streaming rpc for listing web sessions#54737

Merged
espadolini merged 1 commit intomasterfrom
espadolini/streamwebsessions
May 13, 2025
Merged

Add server-streaming rpc for listing web sessions#54737
espadolini merged 1 commit intomasterfrom
espadolini/streamwebsessions

Conversation

@espadolini
Copy link
Copy Markdown
Contributor

This PR adds an alternate server-streaming rpc for getting web sessions, using a server stream rather than a unary rpc returning a list, since we've seen large clusters error out due to gRPC message size limits, especially when upgrading to v17 since web sessions now include two private keys rather than one (and RSA keys are pretty big). No internal changes since the only things with need and power to get a list of web sessions are proxies and you're only going to have a few handfuls of those to begin with, so collecting a list in the auth memory is not a problem.

changelog: fixed Proxy cache initialization errors in clusters with large amounts of open web sessions

Copy link
Copy Markdown
Contributor

@avatus avatus left a comment

Choose a reason for hiding this comment

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

neat!

@public-teleport-github-review-bot public-teleport-github-review-bot Bot removed the request for review from gabrielcorado May 13, 2025 19:51
@espadolini espadolini added this pull request to the merge queue May 13, 2025
Merged via the queue into master with commit 25bbd0c May 13, 2025
53 of 55 checks passed
@espadolini espadolini deleted the espadolini/streamwebsessions branch May 13, 2025 20:37
@backport-bot-workflows
Copy link
Copy Markdown
Contributor

@espadolini See the table below for backport results.

Branch Result
branch/v15 Failed
branch/v16 Failed
branch/v17 Failed

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

Labels

backport/branch/v17 c-bl Internal Customer Reference size/sm

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants