Database (3)

Atomic Transactions & Rollbacks in MongoDB with Mongoose

Background Recently I was developing a backend service and I came across a requirement of updating user information across multiple database collections when a purchase is made, either all collections should update or none. No partial update!  This is a common pattern in real-world applications…

Continue reading...

Run MongoDb Using Docker & Persist Data

Background Docker is one of the most popular platform to create, run & deploy applications faster. It helps you to run things in isolation, you don't have to worry about the application environment / OS. You build it once & deploy it anywhere using docker.

Continue reading...

How to Run MySQL & phpMyAdmin Using Docker

Background Docker is one of the most popular platform to create, run & deploy applications faster. It helps you to run things in isolation, you don't have to worry about the application environment / OS. You build it once & deploy it anywhere using docker.

Continue reading...