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

[Enhancement]: Add KeyDB support #1192

Open
kanpov opened this issue Jun 10, 2024 · 1 comment
Open

[Enhancement]: Add KeyDB support #1192

kanpov opened this issue Jun 10, 2024 · 1 comment
Labels
enhancement New feature or request module An official Testcontainers module

Comments

@kanpov
Copy link

kanpov commented Jun 10, 2024

Problem

Redis is no longer open-source, and the main two alternatives to it are:

  • Valkey, which is a very young fork of Redis that offers pretty much the same feature-set as Redis before the switch to "source-available"
  • KeyDB, which is a more mature fork of Redis that is more performant (multithreaded)

In my projects, I've switched to using KeyDB, which induced quite a bit of boilerplate for my tests that need a distributed cache, and I think that having a KeyDB module in Testcontainers.NET will be beneficial.

Solution

Introduce a KeyDB module.

Benefit

Support those that have opted to switch to KeyDB after the Redis fiasco.

Alternatives

The main alternative is supporting Valkey, which has also rapidly gained popularity, but, considering that KeyDB offers some unique features over Valkey, I see support of both as relevant.

Would you like to help contributing this enhancement?

Yes

@kanpov kanpov added the enhancement New feature or request label Jun 10, 2024
@kanpov
Copy link
Author

kanpov commented Jun 10, 2024

I'd be interested in contributing, taking a look at the Redis module will probably be beneficial.

@HofmeisterAn HofmeisterAn added the module An official Testcontainers module label Jun 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request module An official Testcontainers module
Projects
None yet
Development

No branches or pull requests

2 participants