DC
HomeProjectsBlog

Writings

May 1, 2024•
RubyDesign Patterns

Mastering Singleton Pattern in Ruby

A deep dive into Ruby's Singleton design pattern, its implementation, and how it works under the hood.

March 10, 2024•
RubyConcurrencyPerformance

Mastering Ruby Parallelism and Concurrency

From basics to real-world applications - understanding threads, GIL, and how to achieve true parallelism in Ruby.

February 6, 2024•
Ruby on RailsPostgreSQLAWSHeroku

Set Up Dual Databases in Rails

A complete guide to implementing dual database support in Rails with Heroku Postgres and AWS RDS.

May 19, 2023•
Ruby on RailsDevOpsHeroku

Preventing Concurrent Migrations in a Distributed Environment

How to handle database migrations safely when multiple applications share a single database.

© 2026 Deepak Chauhan. All rights reserved.