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

Test if dolt could be used to store a Mastodon project #41

Closed
5 tasks
maarzt opened this issue Aug 4, 2023 · 0 comments
Closed
5 tasks

Test if dolt could be used to store a Mastodon project #41

maarzt opened this issue Aug 4, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@maarzt
Copy link
Contributor

maarzt commented Aug 4, 2023

part of mastodon-sc/mastodon-git#12

Issue mastodon-sc/mastodon-git#21 describes a format that allows to store a mastodon project in a git compatible format. The way mastodon internally represents a model graph with its spots and links is very similar to a relational database. Basically issue mastodon-sc/mastodon-git#21 describes how these tables could be serialized in a git friendly manner.

Maybe serializing tables in a git friendly manner is not necessary. DOLT promises to be a combination of git and a SQL database, so it's very promising as backend for versioning mastodon projects.

Advantages using DOLT

  • No specialized format to serialize Mastodon in a git friendly format
  • Dolt blame capabilities are exactly what we need
  • DOLT allows to use file systems and google cloud storage to be used as a remote.

Disadvantages using DOLT

  • Not as famous / stable / common as git.
  • Research labs don't have a dolthub account. It costs 50$.
  • I don't expect research institutes to run doltlab.

Tests needed

  • Does the file system remote work?
  • Is it possible to use the TUD file server as a remote.
  • Can the file system remote handle concurrent access
    Let two clients push changes to a single cell in a dolt table concurrently.
  • Can we serialize / deserialize a ModelGraph to / from dolt.
  • Does dolt diff, dolt blame produce useful output?
@maarzt maarzt added the enhancement New feature or request label Aug 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants