Ashishashish735.hashnode.dev·Mar 23, 2024Spring Boot app serving only fixed number of customers for a specific endpointProblem Scenario: - I have a spring boot application that acts as the backend for a frontned application that many users use. it has many rest controllers and hence many end points. One of the endpoints is an excel generation endpoint. But, since I u...DiscussJava
Dreamcatblog.dreamcat.uk·Mar 12, 2024How we built a semaphore puzzleThe first in our "anatomy of a puzzle" series... In 2021, as the pandemic was thawing, we set out to build a new puzzlehunt: The World’s Fair, a Jules Vernian Victorian steampunk adventure. (It eventually morphed into the Octonet puzzlehunt, but tha...Discuss·78 readssemaphore
Jyotiprakash Mishrablog.jyotiprakash.org·Jan 10, 2024Dining Philosophers ProblemThe Dining Philosophers Problem is a classic problem in computer science and synchronization theory, often used to illustrate synchronization issues and techniques for resolving them. It was formulated by Edsger Dijkstra in 1965. Here's the scenario ...Discuss·280 readsdining philosophers problem
Jyotiprakash Mishrablog.jyotiprakash.org·Jan 10, 2024Bounded Buffer ProblemThe Bounded Buffer problem, also known as the Producer-Consumer problem, is a classic example of a multi-process synchronization problem. The problem describes two processes, the producer and the consumer, who share a common, fixed-size buffer used a...Discuss·489 readsproducer consumer
clockworkclockwork.hashnode.dev·Nov 16, 2023Multithreading exercise.noise hello_friend, This series is all about programming, code-slinging, and hacking. I'm currently preparing for a new job starting next year, so I thought it would be a good opportunity to freshen up some skillz. I've got an old drill I often used...Discuss·45 readsProgrammingC++
Khue Quang Nguyenvuadivuacode.hashnode.dev·Aug 24, 2023Semaphore và semaphore package trong GolangChào các bác, Trong bài ngày hôm nay tôi sẽ giới thiệu với các bác sơ lược về khái niệm semaphore và package semaphore trong Golang. Semaphore là một khái niệm phổ biến trong đồng bộ tiến trình (process synchronization) nhưng ít khi được nhắc tới tro...Discuss·1 like·119 readssemaphore
92_prajak senblogoverflow.hashnode.dev·Jul 18, 2023Unveiling the Power of Multi threading: Revolutionizing Scalability in Single-Client Server Design"Exploring the Simplicity of Single-Client Server Design and the Potential for Scalability Challenges" In this article we will design the server that handles only one client at a time, which is a big assumption if one wants to develop any scalable se...Discuss·10 likesclient-server
Ujjawal Kumarendeavourmonk.hashnode.dev·Jun 6, 2023Semaphore in Operating System with it's own implementation in C.A semaphore is a synchronization construct used in operating systems to control access to shared resources among multiple processes or threads. It is essentially a variable or an abstract data type that provides two fundamental operations: "wait" and...Discuss·10 likes·30 readsos
Khoi NguyenforDwarves Foundation's Team Blogdwarvesf.hashnode.dev·May 12, 2023Approaches to manage concurrent workloads, like worker pools and pipelinesIntroduction Go provides us great and convenient ways to write concurrent programs with high performance to execute tasks concurrently (perhaps in parallel if the program is run on a machine with multiple physical cores, GOMAXPROCS are automatically ...Discuss·38 likes·293 readsGo Language
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