forked-synapse/synapse/storage/databases/main
Erik Johnston 786de8570b
Speed up fetching partial-state rooms on sliding sync (#17666)
Instead of having a large cache of `room_id -> bool` about whether a
room is partially stated, replace with a "fetch rooms the user is which
are partially-stated". This is a lot faster as the set of partially
stated rooms at any point across the whole server is small, and so such
a query is fast.

The main issue with the bulk cache lookup is the CPU time looking all
the rooms up in the cache.
2024-09-06 11:12:54 +01:00
..
__init__.py Sliding sync: Store the per-connection state in the database. (#17599) 2024-08-29 16:26:58 +01:00
account_data.py Fix sync waiting for an invalid token from the "future" (#17386) 2024-07-02 12:39:49 +01:00
appservice.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
cache.py Sliding sync: use new DB tables (#17630) 2024-09-01 11:25:39 +01:00
censor_events.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
client_ips.py Format files with Ruff (#17643) 2024-09-02 12:39:04 +01:00
deviceinbox.py Format files with Ruff (#17643) 2024-09-02 12:39:04 +01:00
devices.py Format files with Ruff (#17643) 2024-09-02 12:39:04 +01:00
directory.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
e2e_room_keys.py Format files with Ruff (#17643) 2024-09-02 12:39:04 +01:00
end_to_end_keys.py Format files with Ruff (#17643) 2024-09-02 12:39:04 +01:00
event_federation.py Format files with Ruff (#17643) 2024-09-02 12:39:04 +01:00
event_push_actions.py Format files with Ruff (#17643) 2024-09-02 12:39:04 +01:00
events_bg_updates.py Fix background update to handle invalid events (#17641) 2024-09-05 14:15:04 +01:00
events_forward_extremities.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
events_worker.py Format files with Ruff (#17643) 2024-09-02 12:39:04 +01:00
events.py Format files with Ruff (#17643) 2024-09-02 12:39:04 +01:00
experimental_features.py Finish up work to allow per-user feature flags (#17392) 2024-07-05 13:02:35 +01:00
filtering.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
keys.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
lock.py Bump black from 23.10.1 to 24.2.0 (#16936) 2024-03-13 16:46:44 +00:00
media_repository.py Prepare for authenticated media freeze (#17433) 2024-07-22 10:33:17 +01:00
metrics.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
monthly_active_users.py Update license headers 2023-11-21 15:29:58 -05:00
openid.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
presence.py Fix sync waiting for an invalid token from the "future" (#17386) 2024-07-02 12:39:49 +01:00
profile.py Add missing docstrings related to profile methods. (#17559) 2024-08-13 17:04:35 +01:00
purge_events.py Format files with Ruff (#17643) 2024-09-02 12:39:04 +01:00
push_rule.py Fix sync waiting for an invalid token from the "future" (#17386) 2024-07-02 12:39:49 +01:00
pusher.py Replaces all usages of StreamIdGenerator with MultiWriterIdGenerator (#17229) 2024-05-30 11:07:32 +00:00
receipts.py Format files with Ruff (#17643) 2024-09-02 12:39:04 +01:00
registration.py Format files with Ruff (#17643) 2024-09-02 12:39:04 +01:00
rejections.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
relations.py Don't invalidate all get_relations_for_event on history purge (#17083) 2024-05-29 12:57:10 +01:00
room.py Speed up fetching partial-state rooms on sliding sync (#17666) 2024-09-06 11:12:54 +01:00
roommember.py Fix sliding sync on workers (#17649) 2024-09-04 10:52:46 +01:00
search.py Format files with Ruff (#17643) 2024-09-02 12:39:04 +01:00
session.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
signatures.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
sliding_sync.py Sliding sync: Store the per-connection state in the database. (#17599) 2024-08-29 16:26:58 +01:00
state_deltas.py Sliding Sync: Pre-populate room data for quick filtering/sorting (#17512) 2024-08-29 16:09:51 +01:00
state.py Format files with Ruff (#17643) 2024-09-02 12:39:04 +01:00
stats.py Format files with Ruff (#17643) 2024-09-02 12:39:04 +01:00
stream.py Format files with Ruff (#17643) 2024-09-02 12:39:04 +01:00
tags.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
task_scheduler.py Bump black from 23.10.1 to 24.2.0 (#16936) 2024-03-13 16:46:44 +00:00
transactions.py Fix filtering of rooms when supplying the destination query parameter to /_synapse/admin/v1/federation/destinations/<destination>/rooms (#17077) 2024-04-26 10:52:24 +01:00
ui_auth.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
user_directory.py Format files with Ruff (#17643) 2024-09-02 12:39:04 +01:00
user_erasure_store.py Update license headers 2023-11-21 15:29:58 -05:00