@pixperk
Backend dev. Writing deep dives while quietly rebuilding the wheel.
Nothing here yet.
Nothing here yet.
Yes, sometimes the payments processing cron job can run twice. In the same batch and for the same customer. Unfortunately, the customer would be charged twice. How did this happen? Two instances of the same server ran the cron job twice. “But we did ...

Life would have been easy if the world were filled with monolithic functions. Simple functions that execute once, and if they crash, we could try again. But we build distributed systems and life isn’t that easy (but it is fun). A classic scenario is ...

Async job queues are the quiet workhorses behind a lot of the stuff you take for granted, sending emails, processing payments, resizing images, crunching analytics. Basically, any task that doesn’t need to happen right now but still needs to get done...
