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

Add PostgreSQL database support #1238

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
Open

Add PostgreSQL database support #1238

wants to merge 11 commits into from

Conversation

partim
Copy link
Member

@partim partim commented Nov 19, 2024

This PR adds support for using the PostgreSQL database as a storage backend for Krill in preparation for supporting fail-over scenarios for higher availability.

The PR integrates the storage abstraction previously implemented via the kvx crate back into Krill to allow a tight coupling of storage primitives with Krill’s requirements.

We have opted to not move the storage code to async functions as proposed in #1152. We think that storage should generally be fast enough that the gain from using async isn’t all that big. Using a thread pool and sync functions makes it easier to reason about what’s going on and should keep the code simpler.

@partim partim marked this pull request as draft November 19, 2024 12:42
@partim partim marked this pull request as ready for review December 5, 2024 11:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant