Optimize database requests #81
Labels
enhancement
Hard
Hard to implement
Long term
For systematic issues that won't be fixed in just one release.
This is issue 2/3 spawned by closing #11.
There are places in the code where data is retrieved from the database with no care for what impact this has on the database load. This issue is to look over all of the codebase, identifying places where we are either over-requesting or under-requesting (and therefore causing more fetches later). One area this is currently really bad is the chat pages.
Also, the models in the database should get proper index labels for quicker lookup on more used fields.
The text was updated successfully, but these errors were encountered: