Usually, I messed up with fundamental things although it’s already taught at the college. Because as software engineer usually I am already pampered by high-level abstraction. At glance, I already forgot about pessimistic locking and optimistic locking. But after reading at several resources, turns out I’ve implemented that mechanism to…