Queues — The Backbone of Modern Architecture

Introduction In modern systems, messaging queues are one of the most essential building blocks. They are the unsung heroes that help us decouple services, making our systems scalable, fault-tolerant, and efficient. Without queues, managing communication between multiple services would be chaotic and unreliable. Why Queues? The Monolithic Scenario In a monolithic architecture, all parts of the system are tightly coupled. Let’s take an example of three services connected directly: A → B → C. ...

October 23, 2025 · 3 min · 462 words

Securely Accessing Private RDS Databases Using SSH Tunneling and a Bastion Host

I’ve been using AWS services like EC2 and RDS under the free tier and recently started incurring charges due to the use of public IP addresses. AWS provides one free public IP, but my RDS instance had another public IP attached — and that’s where the billing began. AWS billing showing charges for additional public IPv4 addresses. A better, more secure, and cost-effective solution is to keep your RDS private within a VPC and connect to it via a method called SSH tunneling through a bastion host. ...

October 5, 2025 · 3 min · 543 words