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

Make sure we have a migration path off CockroachDB #339

Open
leoluk opened this issue Aug 16, 2024 · 0 comments
Open

Make sure we have a migration path off CockroachDB #339

leoluk opened this issue Aug 16, 2024 · 0 comments
Labels
research-and-design unfortunate Things which we wouldn't implement in an ideal world.

Comments

@leoluk
Copy link
Member

leoluk commented Aug 16, 2024

Relying on what is now a proprietary database is most certainly not going to end well. There's nothing inherently wrong with the new Cockroach Labs licensing structure, but given our project's goals, it seems ill-advised to become locked into it.

We should evaluate alternatives and make sure (via appropriate tests) that we don't use Cockroach-specific features so we have a migration path to another Postgres-compatible HA solution.

Potential alternatives:

  • Staying on the BSL CockroachDB version, which will eventually become Apache2. Oxide has forked it.
  • Another flavor of consensus-based OLTP DB.
    • TiKB/TiDB.
      • MySQL-flavored.
      • No fully serializable transactions (requires manual locking via SELECT FOR UPDATE or a CAS).
    • YugabyteDB.
    • Neon.
    • ...
  • Single-writer Postgres with synchronous replication and our own etcd-based leader election.
@leoluk leoluk added research-and-design unfortunate Things which we wouldn't implement in an ideal world. labels Aug 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
research-and-design unfortunate Things which we wouldn't implement in an ideal world.
Projects
None yet
Development

No branches or pull requests

1 participant