Skip to content

Contributing a database connector for rqlite: Yay or nay? #64

@joostdecock

Description

@joostdecock

What would you like to be added

A database connector for rqlite (I am happy to contribute it myself).

Description

I would like to use a HA step-ca deployment with rqlite as database.

My reasons are the same as everyone's: This is the database I'm using for other aspects of the project, so it would be great to also use it for Step-CA.

I have been reading up on what it would take, and saw this comment where @mmalone writes:

if you don’t like MySQL for HA, the DB backend is pluggable and only needs key-value support (no SQL necessary). So one should be able to write a backend for a more HA-oriented database easily :)

Sounds great. I would like to do that, and write a connector for rqlite.
I would obviously prefer to donate this connector for inclusion in the product. But I'm a bit concerned by #52 being open for 6 months with @hslatman commenting:

We're currently working on a new version of nosql that changes some things in terms of the exposed interface. It should be available fairly soon. We aim for no / minimal breaking changes, but at this time I can't say for sure what it'll look like. I don't expect big changes to happen to the core of your implementation. It's probably good to await its release and adapt this PR, so that it starts of in a nice way.

Questions

  • Are you open to a contribution that would implement support for rqlite as a database?
  • What is the current status of this new version of nosql as it seems to be a blocking factor for new contributions.

Why this is needed

Needed is not the word I'd use. But it's obviously nice to have an additional backend. Especially one which is so easy to setup as rqlite (which is distributed sqlite).

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestneeds triageWaiting for discussion / prioritization by team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions