Bonus: Combining Wait for Results and Fan-Out Pattern in an API EndpointWhen building scalable and efficient APIs, it’s often necessary to handle multiple tasks concurrently and ensure that all tasks are completed before returning a response. This is where the Fan-Out andOct 3 · 4 min readayaacodes.hashnode.dev
How I Rebuilt Rixl's Video Pipeline with River, Postgres, and TransactionsHave you ever noticed how a video on YouTube or TikTok starts a bit blurry and then, as if by magic, snaps into crystal-clear high definition? That "magic" is actually one of the most complex balancinMar 21 · 17 min readayaacodes.hashnode.dev
How a 'Simple' Telegram Bot Turned Into a Full Payment SystemI was busy working on a usage-based billing platform—the kind where you calculate cost based on video duration, file size, bandwidth, and other metrics that make your brain sweat. Still on it. Then myJan 4 · 3 min readayaacodes.hashnode.dev
Understanding Fan-Out Concurrency Pattern in GoThe Fan-Out Pattern Welcome back, everyone! Two weeks ago, we started our concurrency series by discussing how concurrency patterns can effectively address business challenges. I illustrated a scenario where the Wait for Results approaches are releva...Mar 7, 2025 · 7 min readayaacodes.hashnode.dev
Concurrency Patterns in Go: Wait for ResultsIn the previous article, "Concurrency Patterns in Go: A Practical Guide," I took a fun and practical dive into the world of concurrency in Go. I explored how goroutines, channels, and synchronization primitives like sync.Mutex and sync.WaitGroup make...Feb 13, 2025 · 4 min readayaacodes.hashnode.dev