Software design and infrastructure
In here, I discuss my thoughts on building and running web applications. It's a pleasure to meet you.
Using GoLang's coroutines to handle Laravel jobs
We have a job that is dispatched over 50 million times per day in one of the Laravel applications I manage. I needed to start more Laravel workers to ensure these jobs were processed in a timely manner. However, starting too many processes may consume all of the machine's available memory. In this post, I'll show you how I used Go's coroutines to handle multiple jobs at the same time on the same machine.
Jun 6, 2023 8 min read