Interview Fundamentals
Core Java concepts, practical Q&A, and coding discussion topics asked in technical interviews.
-
Kafka Partitions: Ordering, Keys and Parallelism Explained
Series: Backend Interview Mastery
Learn Kafka partitions, message keys, ordering, and consumer parallelism with production trade-offs, sizing guidance, and interview questions.
-
Kafka Architecture: Producers, Brokers, Topics and Offsets
Series: Backend Interview Mastery
Learn Kafka architecture through producers, brokers, topics, partitions, consumers, and offsets. Understand ordering, replication, lag, and trade-offs.
-
Queue vs Pub/Sub: When to Use Each Pattern
Series: Backend Interview Mastery
Compare queue vs pub/sub patterns for backend systems. Learn delivery models, retries, fanout, ordering, and how to choose the right fit.
-
Cache Stampede: Avalanche, Penetration and Prevention
Series: Backend Interview Mastery
Learn cache stampede prevention for avalanche and penetration failures with TTL jitter, request coalescing, stale data, and Bloom filters.
-
Cache Invalidation Strategies: TTL, Events and Versioned Keys
Series: Backend Interview Mastery
Learn cache invalidation strategies for backend systems: TTLs, delete-on-write, event-driven updates, versioned keys, race conditions, and trade-offs.
-
Redis Architecture: Data Types, Persistence and Scaling
Series: Backend Interview Mastery
Learn Redis architecture through data types, persistence, replication, failover, clustering, and the production trade-offs behind fast in-memory systems.
-
Cache Eviction Policies: LRU, LFU, FIFO and TTL
Series: Backend Interview Mastery
Learn cache eviction policies including LRU, LFU, FIFO, and TTL. Choose a policy using workload patterns, memory limits, and production metrics.
-
Write-Through vs Write-Back Caching: Key Differences
Series: Backend Interview Mastery
Compare write-through vs write-back caching: write latency, durability, consistency, failure recovery, and when each cache write strategy fits.
-
Cache-Aside Pattern: Read and Write Flows Explained
Series: Backend Interview Mastery
Learn the cache-aside pattern, cache hit and miss flows, write invalidation, TTLs, stampede prevention, and production trade-offs.
-
Why Is My SQL Query Slow? A Backend Debugging Guide
Series: Backend Interview Mastery
Learn why SQL queries are slow and use EXPLAIN ANALYZE, query plans, indexes, and production evidence to fix them safely.