Seyi Ogunjuyigbeseyiogunjuyigbe.hashnode.dev·Apr 20, 2024How to Avoid Race Conditions in MongoDB with Redis Distributed LocksIntroduction In concurrent systems where multiple operations can access the same resources simultaneously, race conditions can occur, leading to data inconsistencies and undesired outcomes. MongoDB, a popular NoSQL database, provides powerful capabil...Redis
Hemant Singhmemorycrypt.hashnode.dev·Aug 17, 2023Using Lock Among Multiple Applications via Mutex, Redis and ZookeeperImplementing locking among multiple applications requires inter-process communication and synchronization mechanisms. Below we will see various approaches to do this. Using Mutex Lock (for single machine) One common approach is to use named mutexes t...1 like·94 readsC# and .NETdistributed lock
Rohit Sawblog.rsaw409.me·Jul 29, 2023Distributed Lock in MicroServicesDistributed locking is a technique to manage many applications or instances of applications that try to access the same resource. The primary purpose is to allow only one of many applications to access the same resource simultaneously. The Problem In...5 likes·48 readsMicroservices Architecturemutex
Kai Niemiblog.cloudneutral.se·Oct 25, 2022Cluster Singletons using ShedLockOverview Imagine you have a service deployed in multiple instances across the entire globe that need to run scheduled tasks, exclusively one at a time, as cluster singletons. How would you ensure that such a task deployed on multiple processors only ...121 readsSpringboot