is there any order in which redis process commands
13 views
Skip to first unread message
Tuco
unread,
Apr 4, 2017, 8:49:36 AM4/4/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Redis DB
Hi,
wanted to know how does redis process commands. One after the other in the order in which they arrived? Lets say some slow queries are running because of a rogue client and some commands are queued up to be executed. Will redis execute and return the result in which it was asked?
Thanks
Tuco
Jan-Erik Rediger
unread,
Apr 4, 2017, 8:58:28 AM4/4/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to redi...@googlegroups.com
Redis is single-threaded and will thus work on commands one-by-one in
the order they arrived at the server.
Slow queries (such as `KEYS *` or certain set operations on huge sets)
will cause blocking other clients.