-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Login Performance with DynamoDB #1910
Comments
I'm going to reopen this issue for a little bit longer. I ran some testing with the latest version of Teleport, this was the configuration:
Averaging out 10 runs for |
Exact same test on a Teleport 2.4.7 cluster.
Averaging out 10 runs for |
Exact same test on a Teleport 2.6.0-beta.1 cluster.
Averaging out 10 runs for |
Problem
Logins when using DynamoDB are fairly slow and take about 4 seconds when the proxy and auth servers are running locally.
Proposed Solution
During login and creation of a session, Teleport frequently checks what mode it's running in to change it's behavior from regular Teleport to recording proxy mode. All of these checks hit DynamoDB and there are about 5-10 of these requests.
To improve performance, Teleport should request the cluster configuration once, then use that (cached) copy for the remainder of the session.
The text was updated successfully, but these errors were encountered: