Рет қаралды 14,577
Learn all about the power of Laravel's atomic locks! I demonstrate how to grant unique access to resources, mitigate race conditions, and draw pretty red and green boxes on the screen.
Follow me on Twitter at aarondfrancis or check out my website at aaronfrancis.com.
Links:
• laravel.com/docs/10.x/cache#a...
----
00:00 Demo
01:12 Compatible cache drivers
01:37 Creating a lock
04:00 Working with multiple processes
06:03 Running in a loop
07:10 Drawing red/green backgrounds
09:23 Choosing the right driver
10:38 Database locking
12:40 Locks versus queues
----