Laravels atomic locks @aarondfrancis
Laravels atomic locks  @aarondfrancis
Uploaded November 2023 | Updated September 2026, 15 minutes ago
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:
Twitter: twitter.com/aarondfrancis
LinkedIn: linkedin.com/in/aarondfrancis
Website: aaronfrancis.com - find articles, podcasts, courses, and more.

Links:
laravel.com/docs/10.x/cache#atomic-locks

Chapters:
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
Laravels atomic locksThe Music Makers Podcast - 021 - Stop Taking Yourself So SeriouslyYour new agentic development environmentThe Music Makers Podcast - 040 - Prove ItHow to protect your agents contextI built Cloudflare Images in PHP (to scale & compress images)The Music Makers Podcast - 004 - Do The Work.The Music Makers Podcast - 008 - Entreporn: The Fallacy That Wastes Your LifeRuby on Rails + SQLite with Stephen MargheimBuilding a Life OSAutomating my life (or at least the boring parts)The Music Makers Podcast - 010 - Most People Wont
Aaron Francis |

Laravel's atomic locks

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER