Lock & Semaphore: The gatekeepers of your resources
Released with Symfony 3.4, the Lock component allows you to limit concurrent access to shared resources. 3 years later, its little brother, the Semaphore component completes the range of tools at our disposal.
Well beyond the classic flock() or sem_acquire(), these components enable us to cover more complex use-cases such as maintaining a lock on several pages or integrating into a distributed and high availability infrastructure.
In this talk, through business examples, I'll show you how those components work. And we will see the possibilities they offer us as well as their limits.
This talk is delivered twice during the conference:
-
Thursday, December 3, 2020 at 14:00 PM – 14:35 PM
-
Thursday, December 3, 2020 at 21:55 PM – 22:30 PM