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

Is it possible to execute a transaction? #65

Open
picanumber opened this issue Sep 21, 2021 · 0 comments
Open

Is it possible to execute a transaction? #65

picanumber opened this issue Sep 21, 2021 · 0 comments

Comments

@picanumber
Copy link

I'm assuming this variation shouldn't be a problem, but if I were to execute:

rdx.command<string>({"multi"});
rdx.command<string>({"SET", "number", "8"});
rdx.command<string>({"publish", "info", "number_updates"});
rdx.command<string>({"exec"});
  • would it execute as an atomic transaction with proper ordering?
  • If my string message is large (5 - 10 MB) would it cause any problems, I mean regarding performance and correctness? (by performance I'm only concerned if it has extra overhead compared to hiredis)
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

No branches or pull requests

1 participant