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

room creation can be surprisingly slow #6068

Open
richvdh opened this issue Sep 19, 2019 · 3 comments
Open

room creation can be surprisingly slow #6068

richvdh opened this issue Sep 19, 2019 · 3 comments
Labels
A-Create-Room A-Performance Performance, both client-facing and admin-facing T-Enhancement New features, changes in functionality, improvements in performance, or user-facing enhancements. z-p2 (Deprecated Label)

Comments

@richvdh
Copy link
Member

richvdh commented Sep 19, 2019

... even when no remote users are involved

@richvdh
Copy link
Member Author

richvdh commented Sep 19, 2019

eg:

2019-09-19 17:39:43,730 - synapse.access.http.8080 - 233 - INFO - POST-6805839 - 80.250.101.234 - 8080 - Received request: POST /_matrix/client/r0/createRoom
2019-09-19 17:39:45,111 - synapse.handlers.room - 714 - INFO - POST-6805839 - Sending m.room.create in new room
2019-09-19 17:39:47,392 - synapse.handlers.room - 728 - INFO - POST-6805839 - Sending m.room.member in new room
2019-09-19 17:39:48,170 - synapse.handlers.room - 714 - INFO - POST-6805839 - Sending m.room.power_levels in new room
2019-09-19 17:39:48,362 - synapse.handlers.room - 714 - INFO - POST-6805839 - Sending m.room.join_rules in new room
2019-09-19 17:39:48,474 - synapse.handlers.room - 714 - INFO - POST-6805839 - Sending m.room.history_visibility in new room
2019-09-19 17:39:48,537 - synapse.handlers.room - 714 - INFO - POST-6805839 - Sending m.room.guest_access in new room
2019-09-19 17:39:48,640 - synapse.access.http.8080 - 302 - INFO - POST-6805839 - 80.250.101.234 - 8080 - {@matthew:matrix.org} Processed request: 4.910sec/0.000sec (0.016sec, 0.020sec) (0.972sec/0.451sec/33) 45B 200 "POST /_matrix/client/r0/createRoom HTTP/1.1" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:69.0) Gecko/20100101 Firefox/69.0" [0 dbevts]

5 seconds? WTF is it doing?

@neilisfragile neilisfragile added z-bug (Deprecated Label) A-Performance Performance, both client-facing and admin-facing z-p2 (Deprecated Label) labels Sep 24, 2019
@crespinb
Copy link

same, for some reason it's taking several seconds to create a room even with an empty "invite" parameter

@MadLittleMods
Copy link
Contributor

Related to #1545

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A-Create-Room A-Performance Performance, both client-facing and admin-facing T-Enhancement New features, changes in functionality, improvements in performance, or user-facing enhancements. z-p2 (Deprecated Label)
Projects
None yet
Development

No branches or pull requests

5 participants