element-hq / element-hq/synapse

GET /members is slow, taking >30s to respond for Matrix HQ

Open
#16,872 2 comments 1 reaction 0 assignees View on GitHub
A-Membership O-Frequent S-Major T-Defect
Dominant language
Python
Stars
4.6k
Forks
600
Avg merge
5d 22h
Merged PRs (30d)
51

Description

### Description

Element X cannot load the member list because the request times out. Curling the endpoint shows it takes over 30s, in some cases over a minute (on conduit.rs: 23s cold or 4s when cached).

Maybe clients should use /joined_members instead? (Only takes ~2s on matrix.org, 0.7s on conduit.rs)

### Steps to reproduce

curl /members for !OGEhHVWSdvArJzumhm:matrix.org

### Homeserver

matrix.org

### Synapse Version

1.100.0rc1 (b=matrix-org-hotfixes,d5e213e16f)

### Installation Method

I don't know

### Database

-

### Workers

I don't know

### Platform

-

### Configuration

_No response_

### Relevant log output

```shell
-
```

### Anything else that would be useful to know?

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.