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

Investigate slow loading times #123

Open
mhkeller opened this issue Sep 11, 2015 · 3 comments
Open

Investigate slow loading times #123

mhkeller opened this issue Sep 11, 2015 · 3 comments

Comments

@mhkeller
Copy link
Member

On a medium EC2 instance the articles page is particularly slow to load. Once things are stable, look into where in the pipeline this is happening and optimize.

Slated for late October to investigate.

@mhkeller
Copy link
Member Author

CPU usage on the box is not spiking very high but usage reports will be important to see if this is running into a limitation of the box or if part of the process could be more efficient.

Also to look at will be if the same slowness occurs when using the Electron app, which would mean 1) less work on the EC2 box, 2) a powerful computer running the app.

@abelsonlive
Copy link

does this happen every time or only on initial load of a new user? if the comparisons have never been generated, they will be created when you hit the comparisons API for the first time, which might explain the slowness. for all subsequent requests, they should be grabbing data from the redis cache (with a TTL of 1 day).

@mhkeller
Copy link
Member Author

Just clocked the approval river with no pending events loading after 5s. Articles page loading after 6s. Both as not-first-time loads. I'm going to go through the app and see where I can change things. Firefox has some fancy new tools for speed testing. This would definitely help but is a bigger lift: #25 So I might start working on that on a branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants