Skip to content

feat: Python sdk improvements based on load testing tests#315

Draft
pweiber wants to merge 2 commits into
GoogleCloudPlatform:mainfrom
pweiber:py-sdk-lt-improv
Draft

feat: Python sdk improvements based on load testing tests#315
pweiber wants to merge 2 commits into
GoogleCloudPlatform:mainfrom
pweiber:py-sdk-lt-improv

Conversation

@pweiber
Copy link
Copy Markdown
Contributor

@pweiber pweiber commented Feb 11, 2026

Aim to fixes #207

Keeping as a draft for now to explore more alternatives

Performing the load testing for the Python SDK we were able to identify that using the approaches below didn't improved the RPS and latency:

The current approach uses asyncaio and uvloop, we could see some improvements based on the current SDK

Scenario: 300s Duration, 2000 VUs, 60s Warmup, 4 CPU Cores, 2GB Memory

Basic Sample:

Old RPS: 1,412
New RPS: 7,174
Old P99 Latency: 1,620.54ms
New P99 Latency: 403.66ms

JWT Sample:

Old RPS: 1,086
New RPS: 2,882
Old P99 Latency: 2,178.73ms
New P99 Latency: 793.58ms

Signed-off-by: pweiber <periclesweiber@ciandt.com>
Signed-off-by: pweiber <periclesweiber@ciandt.com>
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.

Callouts: fix Python server threading issues

1 participant