Michael
Michael

Reputation: 422

Does redis process commands serially?

I have to write a async client to communicate with redis server for some reason.

For each connection, does redis processes commands serially in the order in which they were received and sends responses in the same order ?

Because I am going to use a queue to store commands in client side.

Upvotes: 0

Views: 181

Answers (1)

oli
oli

Reputation: 86

Yes, As it is single threaded, it will process your command one by one.

Upvotes: 1

Related Questions