All Series

Series

Technical Interview

5 articles·~28 min total·Updated

In this series

  1. 01

    Java Memory Model Demystified: Key Concepts and Usage

    TLDR: Java memory is split into two main areas: the Stack (for method execution) and the Heap (for objects). The Heap is further divided into Young Generation (Eden, Survivor) and Old Generation to optimize Garbage Collection. Understanding this stru...

    6 min read·
    Java Memory Model Demystified: Key Concepts and Usage
  2. 02

    Exploring the Strategy Design Pattern: Simplifying Software Design

    TLDR: If your code is full of if (type == A) doThis() else if (type == B) doThat(), you need the Strategy Pattern. It allows you to define a family of algorithms, encapsulate each one, and make them interchangeable at runtime. What is the Strategy ...

    4 min read·
    Exploring the Strategy Design Pattern: Simplifying Software Design
  3. 03

    Low-Level Design Guide for Ride Booking Application

    TLDR: Designing Uber isn't just about maps; it's about managing state. A ride goes from REQUESTED to ACCEPTED to COMPLETED. We use the Strategy Pattern for pricing (Surge vs. Standard) and the Observer Pattern to notify drivers. This guide walks thro...

    7 min read·
    Low-Level Design Guide for Ride Booking Application
  4. 04

    Webhooks Explained: Don't Call Us, We'll Call You

    TLDR: Polling is like asking "Are we there yet?" every 5 seconds. Webhooks are like the driver tapping you on the shoulder when you arrive. They allow systems to communicate in real-time by sending HTTP POST requests when an event occurs, saving reso...

    5 min read·
    Webhooks Explained: Don't Call Us, We'll Call You
  5. 05

    API Gateway vs Load Balancer vs Reverse Proxy: What's the Difference?

    TLDR: These three terms are often used interchangeably because they overlap. A Reverse Proxy hides the server. A Load Balancer distributes traffic. An API Gateway manages APIs (Auth, Rate Limiting). Think of them as a hierarchy: An API Gateway is a L...

    6 min read·
    API Gateway vs Load Balancer vs Reverse Proxy: What's the Difference?