Clojure Tutorial - Thread Safety with Atoms!

Опубликовано: 14 Июль 2026
на канале: Daniel Amber
1,894
90

Hey guys!

This is the final part of the rate limit function implementation that I did with Peter:

First Video:    • Clojure tutorial - use an atom to make a r...  
Second Video:    • Clojure tutorial - Create a rate limiting ...  

Starting Code: https://gist.github.com/danownsthissp...
Ending Code: https://gist.github.com/danownsthissp...
Encore Library: https://github.com/ptaoussanis/encore


----

00:00 intro
00:30 Finding the problem
03:32 Discuss solutions

05:41 What swap! Does
07:41 Implement solution
18:34 Testing the solution
19:09 Creating the doc string
23:17 Outro