KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Suppose there are two clients which are accessing same redis list datastructure. One is doing LPOP and other is doing RPUSH on the same list. Will there be a any contention between these two clients if they are running in parallel ? Will Redis lock mylist (below) when one client is accessing it,even if the clients running in parallel are accessing different ends of mylist? Client 1 RPUSH mylist a RPUSH mylist b Client 2 LPOP mylist LPOP mylist Client 1 and Client 2 are running in parallel. Let me know if there will be contention in such a scenario.
Tags (comma-separated)
Save Edits
Cancel