Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Clarification on Redis Cluster transactions and client-side support #3209

Open
Assignees
Labels
@eye-dee

Description

Description:
I came across this detailed explanation on StackOverflow regarding transactions in Redis Cluster:
https://stackoverflow.com/questions/42088324/is-there-any-redis-client-java-prefered-which-supports-transactions-on-redis-c/42091605#42091605

The conclusion there was that:

  • Transactions are safe if all keys are on the same node.
  • Cross-slot transactions require trade-offs and are not natively supported.
  • Clients have not agreed on a global strategy.

Questions:

  • Is this explanation still relevant today for Redis Cluster transactions (as of Redis 7 / current client libraries)?

  • If so, would it make sense to introduce a clear API to obtain a connection directly by node id or by slot in order to:

    • Safely manage single-node transactions.
    • Make it more explicit to the developer which node they’re interacting with.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      AltStyle によって変換されたページ (->オリジナル) /