Tag: concurrency


  • Overview Inter-Process Communication (IPC) is a set of mechanisms provided by the operating system to allow processes to communicate and synchronize their actions. Since processes have isolated memory spaces, they cannot simply read/write to each other’s variables. Core Concepts Shared Memory: Two or more processes map the same region of physical memory into their own…

  • Overview Transactions and concurrency control ensure that a database remains in a consistent state even when multiple users are modifying data simultaneously. This is critical for preventing data corruption and ensuring reliability. Core Concepts Transaction: A logical unit of work that must be completed entirely or not at all (Atomicity). Concurrency Problems: Dirty Read: Reading…