Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
timokoesters opened this issue Jan 29, 2024 · 1 comment
Open

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

timokoesters opened this issue Jan 29, 2024 · 1 comment

Comments

@timokoesters
Copy link

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

-

Anything else that would be useful to know?

No response

@anoadragon453
Copy link
Member

I can confirm that this endpoint is still slow. Testing it now for @anoa:matrix.org, I saw it take ~1min to respond, then ~32s further seconds to download 47.3MB of JSON.

curl -H 'Authorization: Bearer AUTH_TOKEN_HERE' 'https://matrix-client.matrix.org/_matrix/client/v3/rooms/!OGEhHVWSdvArJzumhm:matrix.org/joined_members' -o members_resp.json

/joined_members was indeed much faster at only ~2s.

@anoadragon453 anoadragon453 changed the title Matrix HQ: GET /members takes ~30s every time GET /members is slow, taking >30s to respond for Matrix HQ Jun 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants