I have a C++ program whose name is say "Manager" .
This is a stateless process, so multiple instances of it can be run on single machine or different machines.
"Manager" binary manipulates some data in Redis i.e apply some operations on Redis keys.
If the two "Manager" instances read/writes the same key, the results will be not as expected and discrepancy would be there.
I want to assure, that the same Redis key is manipulated in a synchronized way by "Manager" instances.
Thanks.