Rewrite sync module in optimal way #974
Labels
backend
bug is related to backend
enhancement
this label means that resolving the issue would improve some part of the system
optimization
something that improves performance or storage space
We have a module that is responsible for cross-site sync. Due to historical reasons that module (https://github.com/ispras/lingvodoc/blame/heavy_refactor/lingvodoc/views/v2/sync.py) works in a batch mode which means that it grabs whole changes that we need to sync and sends it in a single request/transaction.
That will not work anymore (at all) since it consumes memory as a satan. We need to make it another way. The main points are:
The text was updated successfully, but these errors were encountered: