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

Optimize /backfill to respond faster #15653

Open

Description

@MadLittleMods

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

Activity

  1. added
    A-PerformancePerformance, both client-facing and admin-facing
    T-EnhancementNew features, changes in functionality, improvements in performance, or user-facing enhancements.
    A-Messages-Endpoint/messages client API endpoint (`RoomMessageListRestServlet`) (which also triggers /backfill)
    on May 23, 2023
  2. changed the title [-]Optimize `/backfill`[/-] [+]Optimize `/backfill` to respond faster[/+] on May 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-FederationA-Messages-Endpoint/messages client API endpoint (`RoomMessageListRestServlet`) (which also triggers /backfill)A-PerformancePerformance, both client-facing and admin-facingT-EnhancementNew features, changes in functionality, improvements in performance, or user-facing enhancements.

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions