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

Dispatch components of query separately? #6

Open
bmschmidt opened this issue Jul 27, 2014 · 0 comments
Open

Dispatch components of query separately? #6

bmschmidt opened this issue Jul 27, 2014 · 0 comments

Comments

@bmschmidt
Copy link
Member

This is not pressing, but just a note:

Currently, the GUI is dispatching a single API call at the server. If there are three lines, that's six queries being run sequentially (three to get the lines, and three to update the slugs for the lines).

This could possibly be sped up by dispatching the queries asynchronously (both the slug requests, and the other ones) from the client; MySQL is multithreaded, and a lot of the time is spent on computation (joins) rather than I/O. Probably worth testing first with some long queries to see if it's actually any faster.

It would take using queue.js or some similar module before actually doing the rendering, I guess.

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