redox icon indicating copy to clipboard operation
redox copied to clipboard

Is it possible to execute a transaction?

Open picanumber opened this issue 4 years ago • 0 comments

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)

picanumber avatar Sep 21 '21 20:09 picanumber