This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
RoomHierarchyRestServlet hammers the DB way too hard #11919
Labels
A-Spaces
Hierarchical organization of rooms
T-Enhancement
New features, changes in functionality, improvements in performance, or user-facing enhancements.
Looking at the resource graphs for the main synapse process on attendees.fosdem.org, by far the largest resources (by 10x) are being consumed by RoomHierarchyRestServlet, which is hammering away at get_room_version at ~75Hz, and averaging 150ms of db time per transaction:
Feels like we're missing a cache, given the room hierarchy is hardly going to be changing much, and the room version even less(!)
The text was updated successfully, but these errors were encountered: