-
Notifications
You must be signed in to change notification settings - Fork 473
Open
Description
This issue has been migrated from #15653.
Since /backfill is a big part of /messages performance, optimizing /backfill would help other servers respond to our /backfill requests faster which means we can respond to /messages faster.
From the examples below, it seems like we have these obvious opportunities to improve:
get_backfill_events(...): Seems like a pretty slow query that we could probably turn into a recursive query.get_current_state->get_filtered_current_state_ids: Takes ~200msis_host_joined: uncached call took ~200ms_get_state_groups_from_groups(...): A known slow thing
Reactions are currently unavailable

