Skip to content

Support Plan for Valkey #3225

Closed
Closed

Description

@jonathannaguin

Hello,

We are considering on using Lettuce for connecting to a Valkey server (AWS ElasticCache) and even though we can choose to use Valkey 7.x for increased compatibility, we are wondering which version of Valkey is really supported by Lettuce. And whatever plans you may have for Valkey 8.x.

Thanks!

Activity

  1. tishun commented on Mar 24, 2025

    @tishun
    Collaborator

    To our knowledge, Redis and Valkey did not yet diverge, at least not in core data structures. Lettuce is only tested with Redis, but we do not expect incompatibilities for the standard core commands. So, there are no real plans for Valkey in general.

    Lettuce will add support to the Redis Query Engine in the near future to support Redis CE search, vector search, and the rest of the capabilities (Lettuce already supports the JSON data type).

  2. tishun commented on Mar 25, 2025

    @tishun
    Collaborator

    Does this help?

  3. jonathannaguin commented on Mar 25, 2025

    @jonathannaguin
    Author

    Thanks @tishun, I understand your comment, still the concern we have is that Valkey will eventually diverge and more vendors are moving to Valkey due to the licensing change (AWS in our case). We could rely in our tests to ensure the library keeps been functional but without any assurance from the library itself we will likely need to consider another library.

    Hope I am making sense, this Valkey/Redis topic is not that easy to follow :)

  4. tishun commented on Mar 25, 2025

    @tishun
    Collaborator

    To be absolutely fair we can't guarantee that there would not be - eventually - some differences between Redis and Valkey. As of right now there are several other forks or rewrites that use the same protocol, but do not share the same exact behaviour (set of commands, response signatures, etc.). We can only guarantee operational compatibility with Redis, although this is an open source project and we will always accept meaningful contributions from the community (that could bridge the gap - if there is any).

    IMHO it really depends how you would end up using the driver and in most cases there shouldn't be issues, but ultimately it is up to you to choose the right tooling for your business needs.

    If you need some specific details based on your use case - please let me know.

  5. locked and limited conversation to collaborators on Apr 8, 2025
  6. converted this issue into a discussion #3253 on Apr 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions