Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimize history blobs #113

Open
mateuszmigas opened this issue Jun 23, 2024 · 0 comments
Open

Optimize history blobs #113

mateuszmigas opened this issue Jun 23, 2024 · 0 comments

Comments

@mateuszmigas
Copy link
Owner

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.

Describe alternatives you've considered
N/A

Additional context
N/A

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

1 participant