Chris DourisProtherunner.digital·Feb 27, 2024Day 21/100 100 Days of CodeI implemented mutex in my program and moved the code around to fix some problems. Now, the critical sections get locked and the next thread is waiting for the thread that has locked the section to unlock it. I also fixed an issue where canceling` the...Discuss100 Days of CodeC++
Pradip Limbupradiplimbu.hashnode.dev·Jan 7, 2024Using Redis for implementing Mutex to prevent high load in the databaseLet's consider a simple web application. A role-based ticket management system. Each user page has a widget that shows his work progress. The work progress value is changed based on the ticket status the user worked on. Without any cache system imple...DiscussRedis
Raineraineyang.hashnode.dev·Dec 25, 2023Rust Learning Note: Thread Sychronizationthis article is a summary of Chapter 4.6.3 - 4.6.6 of Rust Course (course.rs/) Multiple Producer Single Consumer The Rust standard library provides a channel among multiple threads called std::sync::mpsc. mpsc is short for multiple producer, single c...Discussmpsc
Timothy Adeyeyetimothy.hashnode.dev·Nov 9, 2023Writing Mutex Logic for Concurrency ControlIntroduction Concurrency is a fundamental aspect of modern software systems. As applications grow in complexity, ensuring that multiple operations occur seamlessly and without conflicts becomes increasingly challenging. Mutex (short for "mutual exclu...Adewole Caleb Erioluwa and 1 other are discussing this2 people are discussing thisDiscuss·11 likes·103 readsconcurrency
Mohamed Dhyia Eddinemohammedev.hashnode.dev·Aug 8, 2023Distributed locksIntroduction In the realm of concurrency, where multiple threads, and processes work to accomplish a certain task in parallel, the concept of synchronization becomes paramount as it allows achieving data consistency across all processes when these pr...Discuss·11 likes·74 readsdistributed system
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...Discuss·5 likes·94 readsMicroservices Architecturemutex
Enzo Hugonnierdarleanews.hashnode.dev·May 3, 2023Concurrency in C++: Multithreading and SynchronizationConcurrency is a powerful concept in modern programming languages, enabling the development of applications that can execute multiple tasks simultaneously. C++11 introduced support for multithreading, providing a standard way to manage threads and sy...Discuss·127 readsC++ basicsconcurrency
Harsh Mangeharshmange.hashnode.dev·May 1, 2023Understanding Semaphores and Mutex in Operating SystemsSemaphore and Mutex are two synchronization mechanisms used in operating systems to manage the access of shared resources such as memory, files, or hardware devices, by multiple processes or threads in a concurrent system. They are used to prevent da...Discuss·37 readssemaphore
Manjunath Reddymanju.dev·Jan 1, 2023REST API: How to avoid duplicate resource creation on concurrent requests.Source: http://www.juimg.com/shiliang/201904/anniutubiao_1768500.html As anyone working as a software engineer, we all might have come across dealing with API's in our lives. It's easy to consume them, however, designing one requires lots of experien...Discuss·1 like·3.0K readsREST API
Irshit mukherjeeirshitmukherjee55.hashnode.dev·Dec 18, 2022Into the threads with Go - (Readers-Writers problem)It's a common Synchronization issue when you are working with multiple threads and accessing shared resources. If one of the threads is updating a shared resource no other thread should be reading or updating at the same time cause the changes made b...Discuss·1 like·93 readsgolang