Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Optimize /backfill to respond faster #15653

Open
MadLittleMods opened this issue May 23, 2023 · 0 comments
Open

Optimize /backfill to respond faster #15653

MadLittleMods opened this issue May 23, 2023 · 0 comments
Labels
A-Federation A-Messages-Endpoint /messages client API endpoint (`RoomMessageListRestServlet`) (which also triggers /backfill) A-Performance Performance, both client-facing and admin-facing T-Enhancement New features, changes in functionality, improvements in performance, or user-facing enhancements.

Comments

@MadLittleMods
Copy link
Contributor

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:

3.45s /backfill?limit=100 request

934ms /backfill?limit=100 request

@MadLittleMods MadLittleMods added A-Federation A-Performance Performance, both client-facing and admin-facing T-Enhancement New features, changes in functionality, improvements in performance, or user-facing enhancements. A-Messages-Endpoint /messages client API endpoint (`RoomMessageListRestServlet`) (which also triggers /backfill) labels May 23, 2023
@MadLittleMods MadLittleMods changed the title Optimize /backfill Optimize /backfill to respond faster May 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A-Federation A-Messages-Endpoint /messages client API endpoint (`RoomMessageListRestServlet`) (which also triggers /backfill) A-Performance Performance, both client-facing and admin-facing T-Enhancement New features, changes in functionality, improvements in performance, or user-facing enhancements.
Projects
None yet
Development

No branches or pull requests

1 participant