summary refs log tree commit diff
path: root/changelog.d
diff options
context:
space:
mode:
authorMatthew Hodgson <matthew@arasphere.net>2018-07-26 22:51:30 +0100
committerGitHub <noreply@github.com>2018-07-26 22:51:30 +0100
commita75231b507e025eaaa4f06d8932c04fa4e942d48 (patch)
tree1299b63f9624cc9b5d8c74dfb7653c0123e80618 /changelog.d
parentMerge pull request #3613 from matrix-org/rav/stop_using_event_edges_room_id (diff)
downloadsynapse-a75231b507e025eaaa4f06d8932c04fa4e942d48.tar.xz
Deduplicate redundant lazy-loaded members (#3331)
* attempt at deduplicating lazy-loaded members

as per the proposal; we can deduplicate redundant lazy-loaded members
which are sent in the same sync sequence. we do this heuristically
rather than requiring the client to somehow tell us which members it
has chosen to cache, by instead caching the last N members sent to
a client, and not sending them again.  For now we hardcode N to 100.
Each cache for a given (user,device) tuple is in turn cached for up to
X minutes (to avoid the caches building up).  For now we hardcode X to 30.

* add include_redundant_members filter option & make it work

* remove stale todo

* add tests for _get_some_state_from_cache

* incorporate review
Diffstat (limited to 'changelog.d')
-rw-r--r--changelog.d/3331.feature1
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/3331.feature b/changelog.d/3331.feature
new file mode 100644
index 0000000000..e574b9bcc3
--- /dev/null
+++ b/changelog.d/3331.feature
@@ -0,0 +1 @@
+add support for the include_redundant_members filter param as per MSC1227