diff options
author | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2021-06-01 12:04:47 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-01 12:04:47 +0100 |
commit | b4b2fd2ecee26214fa6b322bcb62bec1ea324c1a (patch) | |
tree | c4a891eb04c4b1cfe763921e08bd8725d61cf70a /changelog.d | |
parent | Fix opentracing inject to use the SpanContext, not the Span (#10074) (diff) | |
download | synapse-b4b2fd2ecee26214fa6b322bcb62bec1ea324c1a.tar.xz |
add a cache to have_seen_event (#9953)
Empirically, this helped my server considerably when handling gaps in Matrix HQ. The problem was that we would repeatedly call have_seen_events for the same set of (50K or so) auth_events, each of which would take many minutes to complete, even though it's only an index scan.
Diffstat (limited to 'changelog.d')
-rw-r--r-- | changelog.d/9953.feature | 1 | ||||
-rw-r--r-- | changelog.d/9973.feature | 1 | ||||
-rw-r--r-- | changelog.d/9973.misc | 1 |
3 files changed, 2 insertions, 1 deletions
diff --git a/changelog.d/9953.feature b/changelog.d/9953.feature new file mode 100644 index 0000000000..6b3d1adc70 --- /dev/null +++ b/changelog.d/9953.feature @@ -0,0 +1 @@ +Improve performance of incoming federation transactions in large rooms. diff --git a/changelog.d/9973.feature b/changelog.d/9973.feature new file mode 100644 index 0000000000..6b3d1adc70 --- /dev/null +++ b/changelog.d/9973.feature @@ -0,0 +1 @@ +Improve performance of incoming federation transactions in large rooms. diff --git a/changelog.d/9973.misc b/changelog.d/9973.misc deleted file mode 100644 index 7f22d42291..0000000000 --- a/changelog.d/9973.misc +++ /dev/null @@ -1 +0,0 @@ -Make `LruCache.invalidate` support tree invalidation, and remove `invalidate_many`. |