Understanding Sidekiq's systemd Service Unit File

The Story

A few months ago, I updated a popular Ruby on Rails gem, Sidekiq, from version 5 to 6. It came with a major breaking change which removed the built-in daemonization that it came with, and users were asked to let the operating system handle it instead. The documentation suggested a few tools, among which were systemd, upstart, and foreman.

More …

AWS EC2 IAM Roles Can Severely Affect Performance

The Problem

One day, while I was looking through Sentry’s performance monitoring section, I noticed that some APIs were performing poorly, with some queries taking more than a minute to complete. Usually, they would take 10 seconds at most. I opened up an event to look at the flame graph and this is a snippet of what I saw:

More …

Kubernetes Is Not Microservices, and Microservices Are Not A Magical Cure

The Story

As I’ve progressed in my career and met more colleagues, I’ve started to meet some people who are hardcore supporters of Kubernetes, containers, and microservices. Now, there’s nothing wrong with this. These inventions have made life a lot easier on both the development and operations front, but it has also brought a lot of hype and misconceptions along with it.

More …

My Favourite Tech Resources

The Story

Everyone’s got certain websites and tools that they go back to, or certain guides and snippets of information that’s really hard to find, despite being very well written. I feel that I should share some of these, so that others can benefit from them.

More …