Semaphores for Concurrency Control in Golang — A Practical Example
Understand semaphores through a practical Go example, build one using buffered channels, and see when to use x/sync/semaphore.
7 min read
GolangConcurrencysemaphore
Thoughts on Go, Ruby, cloud infrastructure, and software engineering.
Understand semaphores through a practical Go example, build one using buffered channels, and see when to use x/sync/semaphore.
A practical guide on what distroless containers are, their pros and cons, and real challenges I faced while migrating microservices to distroless.
This week, I explored goroutines in more depth, particularly focusing on how to terminate them gracefully.
PDF files can contain much more than text and images — they may include JavaScript, embedded files, form inputs, or even malicious payloads. If your application processes user-uploaded PDFs, it's essential to scan them for such potential security threats.
Google Interview
What is worker pool pattern?