Semaphore

Turkish equivalent: semaforDomain: Concurrency

A permit-based synchronization primitive used to bound concurrent access to a finite resource or capacity.

Technical Context

A semaphore is often better understood as admission control than as a mutex. Permit count should reflect the downstream resource being protected, such as database connections or expensive external operations; an arbitrary high limit merely moves saturation elsewhere.

  • Admission Control
  • bulkhead
  • backpressure
  • ReentrantLock