MatrixSynapse/synapse/storage/databases/main
Eric Eastwood d4d3249ded
Instrument `get_metadata_for_events` for tracing (#13730)
When backfilling, `_get_state_ids_after_missing_prev_event` calls [`get_metadata_for_events`](26bc26586b/synapse/handlers/federation_event.py (L1133)). For `#matrix:matrix.org`, it's called with 77k `state_events` which means 77 calls to the database and takes 28 seconds.
2022-09-07 11:41:52 -05:00
..
__init__.py Use cache store remove base slaved (#13329) 2022-07-21 11:51:30 +01:00
account_data.py Speed up fetching large numbers of push rules (#13592) 2022-08-23 13:15:43 +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 Cancel the processing of key query requests when they time out. (#13680) 2022-09-07 12:03:32 +01:00
directory.py
e2e_room_keys.py
end_to_end_keys.py Cancel the processing of key query requests when they time out. (#13680) 2022-09-07 12:03:32 +01:00
event_federation.py Cancel the processing of key query requests when they time out. (#13680) 2022-09-07 12:03:32 +01:00
event_push_actions.py Remove support for unstable private read receipts (#13653) 2022-09-01 13:31:54 +01:00
events.py Instrument the federation/backfill part of `/messages` (#13489) 2022-08-16 12:39:40 -05: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 Cancel the processing of key query requests when they time out. (#13680) 2022-09-07 12:03:32 +01:00
filtering.py
keys.py
lock.py
media_repository.py Replace noop background updates with DELETE. (#12954) 2022-06-13 14:06:27 -04:00
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 Speed up fetching large numbers of push rules (#13592) 2022-08-23 13:15:43 +01:00
pusher.py
receipts.py Clarifications for event push action processing. (#13485) 2022-08-15 09:33:17 -04:00
registration.py `synapse.api.auth.Auth` cleanup: make permission-related methods use `Requester` instead of the `UserID` (#13024) 2022-08-22 14:17:59 +01:00
rejections.py
relations.py Remove unused argument for get_relations_for_event. (#13383) 2022-07-26 07:19:20 -04:00
room.py Cache `is_partial_state_room` (#13693) 2022-09-01 16:07:01 +01:00
room_batch.py
roommember.py Cancel the processing of key query requests when they time out. (#13680) 2022-09-07 12:03:32 +01:00
search.py Replace noop background updates with DELETE. (#12954) 2022-06-13 14:06:27 -04:00
session.py
signatures.py
state.py Instrument `get_metadata_for_events` for tracing (#13730) 2022-09-07 11:41:52 -05: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 Cancel the processing of key query requests when they time out. (#13680) 2022-09-07 12:03:32 +01: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