S
S
sferos2016-11-26 18:15:05
Redis
sferos, 2016-11-26 18:15:05

Synchronization of commands via multi/exec redis?

Such a question, is it possible to use multi / exec commands to build a structure of synchronous requests to radishes? In this case, I’m interested in what would be written first (LPUSH), and only then read (LRANGE), without using call-back functions.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
@
@mgyk, 2016-12-12
_

The commands in the multi/exec block will be executed sequentially and will be atomic as radish is single-threaded

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question