Skip to content

Glossary: Microservices

semaphore

Also written: BoundedSemaphore

A counter of free slots. `threading.BoundedSemaphore(2)` allows two holders at once, which is how the bulkhead limits calls.

Where the book teaches it

Related terms

bulkhead