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

Image Generation is 10x slower than present rtstats #10

Open
akrherz opened this issue Oct 4, 2019 · 3 comments
Open

Image Generation is 10x slower than present rtstats #10

akrherz opened this issue Oct 4, 2019 · 3 comments
Assignees

Comments

@akrherz
Copy link
Collaborator

akrherz commented Oct 4, 2019

A current test of the test rtstats and legacy rtstats.

Fetching this image

Server Time
Legacy 0.4s
Test/New 8.2s

Assuming the test host is as beefy as current production host, this difference is likely all due to python being exec'd for each request and not being run from mod_wsgi.

So I will see how fast I can get a mod_wsgi image generation from python to run.

@akrherz akrherz self-assigned this Oct 4, 2019
akrherz added a commit to akrherz/rtstats that referenced this issue Oct 29, 2019
@akrherz
Copy link
Collaborator Author

akrherz commented Oct 29, 2019

@oxelson will be efforting Python3 + mod-wsgi setup tomorrow on the Unidata test machine. My local testing shows my mod-wsgi implementation on-par for speed with the current legacy site. We shall see how it goes in real life :)

@akrherz
Copy link
Collaborator Author

akrherz commented Nov 12, 2019

@oxelson got the test server all shined up and running with my mod-wsgi code. So a current test of the example URL above

Server Time
Current 0.4s
Test 2.7s

Augh. Will have to boggle this some more. My goal here is at least sub 1 second. I have plenty of database + mod-wsgi + matplotlib code on other servers that runs sub 0.5s, so it is possible!

@akrherz
Copy link
Collaborator Author

akrherz commented Nov 25, 2019

Tom found a very slow plot

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