Skip to content
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 Django Cache Module #3058

Open
Tracked by #2964
antonpirker opened this issue May 8, 2024 · 2 comments
Open
Tracked by #2964

Load Testing Django Cache Module #3058

antonpirker opened this issue May 8, 2024 · 2 comments
Assignees

Comments

@antonpirker
Copy link
Member

antonpirker commented May 8, 2024

We have an update for our Django Integration to generate spans that will show up in the "Cache Module" of the Sentry Performance tab.

I did some load testing, to get a feel how much overhead we are putting on our Users Servers.

The project used for load testing can be found here:
https://github.com/antonpirker/testing-sentry/tree/main/test-django-cache-module
(In the /reports folder are the results of my test)

@antonpirker
Copy link
Member Author

About the memory consumption:

  1. This is the baseline, running the load test without Sentry:
    0_plot

  2. This is the test with Sentry but without any cache spans:
    1_1_plot

  3. This is the test with Sentry and with cache spans but without cache item sizes:
    2_1_plot

  4. This is hte test with Sentry, with cache spans, and with cache item sizes:
    3_plot

@antonpirker
Copy link
Member Author

Test case 1 (with Sentry but without cache spans) has a way higher memory usage than test cases 2 and 3!?

I repeated the test case 1 twice and it showed basically the same result (Can be found in the /reports).

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

No branches or pull requests

1 participant