All the blog posts

Prometheus: Static/Dynamic scraping on EKS

This note is a mental model for how Prometheus discovers and scrapes metrics in Kubernetes. The lens I want to keep throughout is: At a high level there are two ways to tell Prometheus about a /metrics endpoint: Approach 1: Static scrape_config: This is the traditional way: you manually configure a scrape job in prometheus.yaml.The natural questions here are: How…

Leader/Follower relationship with Primary/Replicas

In most of distributed datastore systems, there are a lot of techical terms to describe the behavior of the system. While these terms, like, “Leader”, “Follower”, “Replication”, “Consistency”, etc., are widely used and helpful, what I feel missing are the details about internal relationship between these terms.Analogically, while the map of the field is great,…

Encoding: From the POV of Dataflow paths

When studying Chapter 4 of Designing Data-Intensive Applications (Encoding and Evolution), I quickly encounters a level of granularity that seems mechanical: binary formats, schema evolution, and serialization techniques. Yet behind this technical scaffolding lies something conceptually deeper. Encoding is not merely a process of serialization; it is the very grammar through which distributed systems express and interpret…

Something went wrong. Please refresh the page and/or try again.

About Me

Hi, I’m Akshay. Knowing the answers to the interesting “Why’s” gives me a kick. This space is mainly for sharing stuff related to Software Engineering and other resources.

Subscribe to My Blog

Get new content delivered directly to your inbox.