Please describe the problem.
Currently, there is only one policy for storing canvas history: snapshots in blobs. We need a more sophisticated mechanism to optimize memory consumption.
Describe the solution you'd like
Implement various canvas history policies:
existing snapshots
partial snapshots -> only store the changed part of the canvas
operations -> store only operations that have been performed on the canvas (such as drawing rectangles between points)
Synchronizing history with the canvas would then replay the necessary actions from the last snapshot.
Please describe the problem. Currently, there is only one policy for storing canvas history: snapshots in blobs. We need a more sophisticated mechanism to optimize memory consumption.
Describe the solution you'd like Implement various canvas history policies:
Synchronizing history with the canvas would then replay the necessary actions from the last snapshot.
Describe alternatives you've considered N/A
Additional context N/A