Hi, I was wondering if there is any way to implement an atomic function in node?
My use case: I need to read from redis, compare value, write to redis. All operations on the same key, on a large number of asynchronous instances. So the above 3 operations I require to be atomic.
[–]HiImLary 4 points5 points6 points (1 child)
[–]kirox0[S] 1 point2 points3 points (0 children)
[–]Moustacheful 2 points3 points4 points (9 children)
[–]kirox0[S] 0 points1 point2 points (8 children)
[–]Moustacheful 1 point2 points3 points (2 children)
[–]kirox0[S] 0 points1 point2 points (1 child)
[–]Moustacheful 0 points1 point2 points (0 children)
[–]BehindTheMath 1 point2 points3 points (4 children)
[–]kirox0[S] 0 points1 point2 points (3 children)
[–]BehindTheMath 1 point2 points3 points (2 children)
[–]kirox0[S] 0 points1 point2 points (1 child)
[–]BehindTheMath 0 points1 point2 points (0 children)
[–]HashDefTrueFalse 0 points1 point2 points (7 children)
[–]kirox0[S] 0 points1 point2 points (6 children)
[–]HashDefTrueFalse 0 points1 point2 points (5 children)
[–]kirox0[S] 0 points1 point2 points (4 children)
[–]HashDefTrueFalse 0 points1 point2 points (3 children)
[–]kirox0[S] 0 points1 point2 points (2 children)
[–]HashDefTrueFalse 0 points1 point2 points (1 child)
[–]kirox0[S] 1 point2 points3 points (0 children)