Archive

Technical writing

Articles on distributed systems, backend engineering, Linux, cloud infrastructure and the craft of building reliable software.

Article

Recursion: A Function Calling Itself with an Exit Condition

The functions which calls itself with a exit condition There are two common types of recursion : Head Recursion: Where you call the recursion function first and perform operations which you need to d

3 min read

Rust

Rust Made Me Rethink Error Handling

My early experience learning Rust and why its approach to error handling, mutability, and compiler guidance immediately stood out.

4 min read

Distributed Systems

Understanding Raft Consensus

A concise introduction to leader election, log replication, and why Raft makes distributed consensus easier to understand.

1 min read

Article

DVA C02 Notes - Storage

Cheat sheet for myself

2 min read

rust

Rust Experience

I made Rust panic… and somehow I liked it 🥹

4 min read

databases

What Really Happens After You Run a SQL Query - SQL Journey

What the database does after you hit enter

12 min read

Article

Intro to Cloud Formation - Infra as Code

CloudFormation is an Infrastructure as Code (IaC) service where we define the resources we need to deploy in AWS in a coding manner. Generally, CloudFormation uses JSON or YAML for declaring resources

2 min read

Article

Git & GitHub in 5 Minutes: Stop Emailing Code! 🚀

Ever had files named final_code.js, final_code_v2.js, or final_code_REALLY_final.js? 😵 We've all been there. It's a messy way to track changes and a nightmare for teamwork. Let's fix this forever with two tools: Git and GitHub. Part 1: Git - Your P...

2 min read

promptengineering

Prompt Caching - Simple Explanation

Unlock Faster and Cheaper LLM Responses with Prompt Caching

4 min read

python

Understanding Dynamic Variable Allocation in Python

I was always curious about how Python assigns values under the hood to the same variable. Example Let's say we declare: a = 2 print(type(a)) # This will give INT as a response a = 2 a = "Hello World" print(type(a)) # This will give String as a res...

1 min read