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

A thought about speed ups #84

Open
jimhavrilla opened this issue Sep 19, 2020 · 3 comments
Open

A thought about speed ups #84

jimhavrilla opened this issue Sep 19, 2020 · 3 comments

Comments

@jimhavrilla
Copy link
Collaborator

jimhavrilla commented Sep 19, 2020

There are a few things we can do to speed up the site in the future (not currently critical, but it would also be good for SEO, like Google results):

  1. Add HTTP2 support in apache, helps speedup, server load, etc. Should hopefully be as simple as a minor conf file update and apache rpm update, but we'll see. Also move from prefork apache to mpm for multiprocessing.
  2. Make all jinja/json arrays into javascript arrays for dataTables so I can use deferRender: true and the site loads way faster.
  3. Harder to do currently, because I spent a lot more time on this but...move from Apache to Nginx, everyone says it's far superior in speed for static rendering and handling multiple requests w less cores and RAM.
@jimhavrilla
Copy link
Collaborator Author

jimhavrilla commented Sep 19, 2020

  1. Add minimized and efficient CSS.
  2. If possible (with droplet resources) use ray to parallelize tasks (worked for OpenFDA).

@jimhavrilla
Copy link
Collaborator Author

Ok so 1 was pretty easy to do.
image

@jimhavrilla
Copy link
Collaborator Author

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