mastodon-sc / mastodon

Mastodon – a large-scale tracking and track-editing framework for large, multi-view images.
BSD 2-Clause "Simplified" License
65 stars 20 forks source link

Backup of Mastodon files #298

Open stefanhahmann opened 3 months ago

stefanhahmann commented 3 months ago

User Story

A user of Mastodon recently reported that his .mastodon file was corrupted after/during a crash of Fiji/Mastodon that perhaps was related to #295. It is not exactly clear how .mastodon could get corrupted and currently no reproducible workflow exists that would create such a corrupt file. However, the result for the user is annoying, since if no other backup strategy existed potentially many hours of tracking may be lost.

Potential solution 1

Related to #310

tinevez commented 3 weeks ago

I like both ideas. Can you benchmark on your laptop how long saving a large mastodon file takes?

stefanhahmann commented 3 weeks ago

Can you benchmark on your laptop how long saving a large mastodon file takes?

On my machine I can produce saving times ranging from ~0,2s to ~2s (depending on project size, attributes, etc.).

tinevez commented 3 weeks ago

so it would not create big issues for the user experience.

stefanhahmann commented 3 weeks ago

so it would not create big issues for the user experience.

No, should not be too bad at the moment.