Common Coding Interview Patterns
Learn five coding interview patterns, derive constraints before choosing one, and practice each with a recognition problem, variation, and mixed exercise.
Learn five coding interview patterns, derive constraints before choosing one, and practice each with a recognition problem, variation, and mixed exercise.
Comprehensive guide to .gitignore syntax, pattern matching rules, global ignores, negation, and curated patterns for every major tech stack and framework.
Decide whether separate command and query models solve a real problem, how to begin in one store, and when a read model can tolerate lag.
Storing state changes as immutable events. Event store implementation, event replay, schema evolution, and comparison with traditional CRUD approaches.
Learn how the transactional outbox prevents lost events, how relays publish them, and how idempotent consumers handle duplicates in distributed systems.
Learn the Try-Confirm-Cancel pattern for distributed transactions. Explore how TCC differs from 2PC and saga, with implementation examples and real-world use cases.
The Bulkhead pattern prevents resource exhaustion by isolating workloads. Learn to implement bulkheads, partition resources, and use them with circuit breakers.
Learn how circuit breakers move between closed, open, and half-open states, and tune timeouts, failure thresholds, cooldowns, and recovery probes.
Choose between a local ACID transaction, two-phase commit, and a saga by mapping the data boundary, failure behavior, and recovery needs.
Learn publish-subscribe messaging patterns: topic hierarchies, subscription management, message filtering, fan-out, and dead letter queues.