MatrixSynapse/synapse/storage
Erik Johnston 4a17a647a9
Improve get auth chain difference algorithm. (#7095)
It was originally implemented by pulling the full auth chain of all
state sets out of the database and doing set comparison. However, that
can take a lot work if the state and auth chains are large.

Instead, lets try and fetch the auth chains at the same time and
calculate the difference on the fly, allowing us to bail early if all
the auth chains converge. Assuming that the auth chains do converge more
often than not, this should improve performance. Hopefully.
2020-03-18 16:46:41 +00:00
..
data_stores Improve get auth chain difference algorithm. (#7095) 2020-03-18 16:46:41 +00:00
engines Add some type annotations in `synapse.storage` (#6987) 2020-02-27 11:53:40 +00:00
schema
util
__init__.py
_base.py
background_updates.py
database.py Hopefully mypy is happy now 2020-03-10 14:40:28 +00:00
keys.py
persist_events.py
prepare_database.py
presence.py
purge_events.py
push_rule.py
relations.py
roommember.py
state.py
types.py Add some type annotations in `synapse.storage` (#6987) 2020-02-27 11:53:40 +00:00