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

@MadLittleMods

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

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