All Blog Posts

11/2/2024
7 min read
Medium

Demystifying Databases — PART 1: Introduction

This series is designed for advanced developers who want to go beyond just using databases and start truly understanding how they work under the hood. We'll explore what makes a good database good, and more importantly, what can go wrong when the foundational principles are misunderstood.

Database
Performance
Best Practices
1/31/2025
7 min read
Medium

PART 1: Introducing DB Migrator, a seamless Database Migration Framework for Spring Boot

In modern software development, database migrations are crucial for maintaining consistency across different environments. This article introduces DB Migrator, a Spring Boot-based framework designed to simplify database migrations with an auto-configurable and plug-and-play approach.

Java
Spring Boot
Database
+2
4/20/2024
9 min read

Demystifying Databases - PART 2: Exploring Atomicity

The term Atomicity refers to the 'all or nothing' rule in transactions. Every query inside a transaction must succeed for the transaction to be committed. If even a single query fails, the entire transaction must be rolled back.

Database
ACID
Transactions
+1
5/10/2024
8 min read

Demystifying Databases - PART 3: Exploring Consistency

Consistency ensures that data transitions between valid states and maintains correctness across operations. It operates at two levels: data consistency and read consistency, each critical for maintaining database integrity.

Database
ACID
Consistency
+1
7/18/2024
7 min read

Demystifying Databases - PART 4: Exploring Isolation

Isolation ensures transactions execute independently without interference from concurrent operations. It prevents anomalies like dirty reads, non-repeatable reads, and phantom reads through various isolation levels.

Database
ACID
Isolation
+1
9/25/2024
8 min read

Demystifying Databases - PART 5: Exploring Durability

Durability ensures that once a transaction is committed, its changes are permanent, even in the face of system crashes, power failures, or other unexpected disruptions. Learn about WAL, fsync(), and the operating system interactions that make this possible.

Database
ACID
Durability
+1