synapse/tests/storage
Eric Eastwood c2e5e9e67c
Sliding Sync: Avoid fetching left rooms and add back newly_left rooms (#17725)
Performance optimization: We can avoid fetching rooms that the user has
left themselves (which could be a significant amount), then only add
back rooms that the user has `newly_left` (left in the token range of an
incremental sync). It's a lot faster to fetch less rooms than fetch them
all and throw them away in most cases. Since the user only leaves a room
(or is state reset out) once in a blue moon, we can avoid a lot of work.

Based on @erikjohnston's branch, erikj/ss_perf


---------

Co-authored-by: Erik Johnston <erik@matrix.org>
2024-09-19 10:07:18 -05:00
..
databases
util
__init__.py
test__base.py Sliding Sync: Pre-populate room data for quick filtering/sorting (#17512) 2024-08-29 16:09:51 +01:00
test_account_data.py
test_appservice.py
test_background_update.py
test_base.py
test_cleanup_extrems.py
test_client_ips.py
test_database.py
test_devices.py Reintroduce "Reduce device lists replication traffic."" (#17361) 2024-06-25 10:34:34 +01:00
test_directory.py
test_e2e_room_keys.py
test_end_to_end_keys.py
test_event_chain.py Reintroduce #17291. (#17338) 2024-06-24 14:40:28 +00:00
test_event_federation.py Reintroduce #17291. (#17338) 2024-06-24 14:40:28 +00:00
test_event_metrics.py
test_event_push_actions.py
test_events.py Sliding Sync: Pre-populate room data for quick filtering/sorting (#17512) 2024-08-29 16:09:51 +01:00
test_id_generators.py Set our own stream position from the current sequence value on startup (#17309) 2024-06-17 11:50:00 +00:00
test_main.py
test_monthly_active_users.py
test_profile.py
test_purge.py
test_receipts.py
test_redaction.py
test_registration.py
test_relations.py
test_rollback_worker.py
test_room.py
test_room_search.py
test_roommember.py Sliding Sync: Pre-populate room data for quick filtering/sorting (#17512) 2024-08-29 16:09:51 +01:00
test_sliding_sync_tables.py Sliding Sync: Use Sliding Sync tables for sorting (#17693) 2024-09-11 12:16:24 -05:00
test_state.py
test_stream.py Sliding Sync: Avoid fetching left rooms and add back newly_left rooms (#17725) 2024-09-19 10:07:18 -05:00
test_transactions.py
test_txn_limit.py
test_unsafe_locale.py
test_user_directory.py
test_user_filters.py