-
Notifications
You must be signed in to change notification settings - Fork 517
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
Load Testing Cache Spans in Django #3907
Comments
SetupSentry Python SDK 2.19.2. Django application with one view (url Access this view by 100 concurrent users constantly over a duration of 5 minutes. BaselineRun the test for 5 minutes without Sentry enabled at all. With Sentry / Without Cache SpansRun the test for 5 minutes with Sentry enabled, but no Cache spans. (so default Sentry setup) With Sentry / With Cache Spans.Run the test for 5 minutes with Sentry and cache spans enabled. Each request generates around 110 cache spans. |
SetupSentry Python SDK 2.19.2. Django application with one view (url Access this view by 100 concurrent users constantly over a duration of 5 minutes. With Sentry / LOTS of cache requests / NO Cache SpansRun the test for 5 minutes with Sentry and NO cache spans. Each request makes around 660 cache request. With Sentry / LOTS of cache requests / With Cache SpansRun the test for 5 minutes with Sentry and cache spans enabled. Each request makes around 660 cache request. |
The load tests seem fine. We enabled cache spans on |
We are thinking about enable cache spans in Django by default.
Adding spans for each access to a cache adds some overhead.
This issue is the documentation of load testing we did using the
Python SDK v2.19.0
.The project used for this tests and also the reports can be found here:
https://github.com/antonpirker/testing-sentry/tree/main/test-django-cache-module/reports/sdk_v2.19.2
The text was updated successfully, but these errors were encountered: