matrix-org / rust-synapse-compress-state

A tool to compress some state in a Synapse instance's database
https://pypi.org/project/synapse-auto-compressor/
Apache License 2.0
142 stars 32 forks source link

Document whether the compressor can run in parallel to synapse #94

Open telmich opened 2 years ago

telmich commented 2 years ago

Is your feature request related to a problem? Please describe.

We should document whether it is safe to run the compressor in parallel to synapse.

Describe the solution you'd like

A clear and concise description of whether or not the compressor and synapse are designed to work in parallel.

Describe alternatives you've considered

To document that it is not possible.

grinapo commented 2 years ago

@telmich how is it not possible?

ForestJohnson commented 2 years ago

I also want to know this!

mrambossek commented 1 year ago

he didn't write that it certainly wasn't possible. he wrote that it should be clearly documented that it is, IF it is, and alternatively, if it is not, that should be clearly documented as well :)

jahway603 commented 1 year ago

Any further info on this issue?

Lykos153 commented 1 year ago

The automatic tool may put some strain on the database, so it might be best to schedule it to run at a quiet time for the server. This could be done by creating an executable script and scheduling it with something like cron.

This sounds like it is expected to be run while Synapse is running, but it's never explicitly stated.