MatrixSynapse/synapse/storage/databases/main
Erik Johnston 5442891cbc
Make push rules use proper structures. (#13522)
This improves load times for push rules:

| Version              | Time per user | Time for 1k users | 
| -------------------- | ------------- | ----------------- |
| Before               |       138 µs  |             138ms |
| Now (with custom)    |       2.11 µs |            2.11ms |
| Now (without custom) |       49.7 ns |           0.05 ms |

This therefore has a large impact on send times for rooms
with large numbers of local users in the room.
2022-08-16 12:22:17 +01:00
..
__init__.py Use cache store remove base slaved (#13329) 2022-07-21 11:51:30 +01:00
account_data.py Revert "Make all `process_replication_rows` methods async (#13304)" (#13312) 2022-07-18 14:28:14 +01:00
appservice.py Federation Sender & Appservice Pusher Stream Optimisations (#13251) 2022-07-15 09:36:56 +01:00
cache.py Use cache store remove base slaved (#13329) 2022-07-21 11:51:30 +01:00
censor_events.py Safe async event cache (#13308) 2022-07-19 11:25:29 +00:00
client_ips.py
deviceinbox.py Add missing types to opentracing. (#13345) 2022-07-21 12:01:52 +00:00
devices.py Add missing types to opentracing. (#13345) 2022-07-21 12:01:52 +00:00
directory.py
e2e_room_keys.py
end_to_end_keys.py Add missing types to opentracing. (#13345) 2022-07-21 12:01:52 +00:00
event_federation.py Instrument `FederationStateIdsServlet` - `/state_ids` (#13499) 2022-08-15 19:41:23 +01:00
event_push_actions.py Make push rules use proper structures. (#13522) 2022-08-16 12:22:17 +01:00
events.py Update type of `EventContext.rejected` (#13460) 2022-08-04 17:45:01 +01:00
events_bg_updates.py Bg update to populate new `events` table columns (#13215) 2022-07-15 12:47:26 +01:00
events_forward_extremities.py
events_worker.py Update the rejected state of events during resync (#13459) 2022-08-11 10:42:24 +00:00
filtering.py
keys.py
lock.py
media_repository.py
metrics.py
monthly_active_users.py Safe async event cache (#13308) 2022-07-19 11:25:29 +00:00
openid.py
presence.py Revert "Make all `process_replication_rows` methods async (#13304)" (#13312) 2022-07-18 14:28:14 +01:00
profile.py
purge_events.py Safe async event cache (#13308) 2022-07-19 11:25:29 +00:00
push_rule.py Make push rules use proper structures. (#13522) 2022-08-16 12:22:17 +01:00
pusher.py
receipts.py Clarifications for event push action processing. (#13485) 2022-08-15 09:33:17 -04:00
registration.py
rejections.py
relations.py Remove unused argument for get_relations_for_event. (#13383) 2022-07-26 07:19:20 -04:00
room.py Use stable prefixes for MSC3827: filtering of `/publicRooms` by room type (#13370) 2022-07-27 19:46:57 +01:00
room_batch.py
roommember.py Optimise async get event lookups (#13435) 2022-08-04 15:49:55 +01:00
search.py
session.py
signatures.py
state.py Update the rejected state of events during resync (#13459) 2022-08-11 10:42:24 +00:00
state_deltas.py
stats.py Implement MSC3827: Filtering of `/publicRooms` by room type (#13031) 2022-06-29 17:12:45 +00:00
stream.py Instrument `/messages` for understandable traces in Jaeger (#13368) 2022-08-03 10:57:38 -05:00
tags.py Revert "Make all `process_replication_rows` methods async (#13304)" (#13312) 2022-07-18 14:28:14 +01:00
transactions.py
ui_auth.py
user_directory.py
user_erasure_store.py