Loading video player...
https://selfmadeengineer.com The best way to support me is to support yourself by becoming a better engineer; https://www.youtube.com/watch?v=o8FZ_rN26oo https://youtu.be/h3fqD6IprIA?si=-PbtzfWKgjDf-bda āŗ Resources: - Starter Code: https://github.com/SelfMadeEngineerCode/cinema-booking-starter-code - Finished Code: https://github.com/SelfMadeEngineerCode/cinema-ticket-booking In this video we'll solve and build from scratch a ticket cinema booking system in Go. It will be a very good project to learn about how concurrency works in Go by solving the issue of double booking seats in a cinema room. šš¼āāļø Socials: X: https://x.com/tiago_taquelim_ Discord: https://discord.com/invite/3JhkwjQHjc Hope you liked and thanks for watching! Time Stamps: 00:00:00 Intro 00:03:28 Solving the concurrent double booking problem 00:11:48 Project Architecture & Design 00:17:23 Implementing our naive solution 00:30:00 Unit testing our solution 00:31:45 Implementing Concurrent solution 00:36:49 Understanding why we need Redis 00:43:38 Implementing Redis solution 00:55:52 Testing our Redis solution 00:58:06 Building a web API 01:04:32 Listing seats endpoint 01:13:00 Booking a seat 01:26:52 Testing our final solution #golang #backend #api Video titles ideas (for the algo): REST API in Golang Beginner Tutorial Building a Production API in Golang from Scratch (Ticket Booking System project)