Skip to content

Optimize /backfill to respond faster #15653

@matrixbot

Description

@matrixbot

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:

3.45s /backfill?limit=100 request

934ms /backfill?limit=100 request

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions