Link to the Newsletter Post: https://jyotinder.substack.com/p/desi...
Link to the Code: https://github.com/JyotinderSingh/Tas...
Subscribe to the Substack: https://jyotinder.substack.com
In this video, we build a distributed task scheduler using Go, Postgres, gRPC, and Docker. We go over concurrency and thread-safety concepts such as goroutines, database locks, and Mutexes to get a deep understanding of how you can build a sophisticated and thread-safe distributed system!
Link to my GitHub: https://github.com/JyotinderSingh
Link to my Website: https://jyotindersingh.com/
Timestamps:
00:00 - Design
01:30 - Setting up the Database
05:10 - Scheduler
11:25 - Coordinator
25:45 - Workers
29:30 - Launch Scripts
30:30 - Docker Compose Setup
31:25 - Running the Distributed Scheduler