You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: