Re:How to do distributed locking
by TallGuyShort on Monday February 08, 2016 @06:11PM
(#11061667)
Although no one starts out wanting to have a truly parallel system. They start out wanting to solve a problem and when that requires scalability or redundancy a parallel system is a means to that end. Not every problem can or should be solved with no shared state, and when that's the case, you should know how to do it right.
[ Parent
| on HN ]
I find the code of highly parallel systems much more elegant and easy to read.
Personally, I find it easier to write highly parallel code than parallel-up-to-a-certain-point code that involves locks likes mutexes and/or semaphores. Highly parallel code just takes a little bit of extra planning and thinking up-front but it saves lots of time and stress down the line.