0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-06-17 10:08:28 +02:00
synapse/changelog.d
Mathieu Velten cb562d73aa
Improve lock performance when a lot of locks are waiting (#16840)
When a lot of locks are waiting for a single lock, notifying all locks
independently with `call_later` on each release is really costly and
incurs some kind of async contention, where the CPU is spinning a lot
for not much.

The included test is taking around 30s before the change, and 0.5s
after.

It was found following failing tests with
https://github.com/element-hq/synapse/pull/16827.
2024-03-14 13:49:54 +00:00
..
.gitignore
16840.misc Improve lock performance when a lot of locks are waiting (#16840) 2024-03-14 13:49:54 +00:00
16919.misc Multi-worker-docker-container: disable log buffering (#16919) 2024-03-13 17:21:37 +00:00
16986.misc Raise poetry-core version cap to 1.9.0 (#16986) 2024-03-13 16:40:08 +00:00