Interview Fundamentals
Core Java concepts, practical Q&A, and coding discussion topics asked in technical interviews.
-
In-Memory Cache vs Distributed Cache Explained
Series: System Design Foundations
Compare in-memory cache vs distributed cache: speed, scalability, consistency, and when to choose Redis over a local cache.
-
Caching Strategies for Backend Developers: TTL, Redis, and More
Series: System Design Foundations
Learn caching strategies for backend developers, including cache hits, TTL, Redis, CDNs, invalidation, and stampede prevention.
-
What Are Sticky Sessions in Load Balancing? (Session Affinity)
Series: System Design Foundations
Sticky sessions (session affinity) keep a user on the same backend. Learn how they work, when to use them, and safer stateless alternatives.
-
Horizontal vs Vertical Scaling Explained (Scale Out vs Up)
Series: System Design Foundations
Compare horizontal vs vertical scaling, including cost, availability, performance, trade-offs, and real-world examples.
-
What Is Load Balancing and How It Works
Series: System Design Foundations
What is load balancing? Learn how load balancers work, key algorithms, health checks, and Layer 4 vs Layer 7 trade-offs.
-
Scalability in System Design: A Beginner's Guide
Series: System Design Foundations
Learn scalability in system design with vertical and horizontal scaling, bottlenecks, capacity planning, and real-world backend examples.
-
What Is Database Connection Pooling and Why It Matters
Series: Database Fundamentals
Learn what database connection pooling is, how it works under the hood, and why it is essential for building performant, scalable backend applications.
-
How ORMs Work Internally: A Simple Explanation
Series: Database Fundamentals
Learn how Object-Relational Mappers work under the hood - from query building and identity maps to lazy loading and the N+1 problem.
-
What Is a Database Transaction? Step-by-Step Guide
Series: Database Fundamentals
Learn what a database transaction is, how BEGIN, COMMIT, and ROLLBACK work, and when to use savepoints with clear SQL examples.
-
ACID Properties Explained: Atomicity, Consistency, Isolation, and Durability
Series: Database Fundamentals
Learn what ACID properties mean in databases. Understand atomicity, consistency, isolation, and durability with simple examples and real-world use cases.