Search
Lessons (12)
- Behavioral Patterns I: Observer, Strategy, Command, State
The four behavioral patterns you'll use most, explained with everyday analogies, diagrams and practical JavaScript. Why behavioral …
- Behavioral Patterns II: Chain, Template, Iterator, Mediator, Memento, Visitor
Six more behavioral patterns, from Express-style middleware chains to undo snapshots, each with a picture and a …
- DBMS Foundations, Keys & Normalization
… engine behavior differs. A primary key is always non-null. Q4 and Q5: Why DBMS instead of files …
- What Are Design Patterns?
… Adapter, Bridge, Composite, Decorator, Facade, Flyweight, Proxy 🗣️ Behavioral How do objects talk and share work? Chain of …
- Releases, Observability and Production Safety
… a small cohort before expansion Feature flag Change behavior without redeploying Schema migration Keep old/new app versions …
- Database Relations & Foreign Keys
… Decide delete/update behavior before production data exists.
- Views, Triggers & Stored Procedures
… refresh work and can be stale. Type Read behavior Cost --- --- --- View Runs the base query Query cost each …
- SQL Language, Identifiers & Data Types
… Exact limits and behavior are engine-specific.
- Transactions, Indexes & Concurrency
… Names and behavior vary by engine: state the database product you mean. Q11: Livelock versus deadlock Deadlock is …
- Replication, Partitioning & Sharding
… Plan the router, shard map, ID generation, backups, rebalancing and degraded behavior before splitting. Cross-shard joins and …
- ACID, Transactions & Locks
… Conditional update, version column or lock The exact behavior is engine-specific. In an interview, name the isolation …
- Scaling & Health Probes
… 60 } % of the CPU request behavior: scaleDown: stabilizationWindowSeconds: 300 wait 5 min before scaling down (avoid flapping) mermaid …