Search
Lessons (30)
- Data Structures for Scale
Use geospatial indexes and probabilistic structures to make huge queries practical while understanding their error bounds. ![Scale-oriented …
- Structural Patterns: How to Connect Objects
… How to plug incompatible pieces together and build big structures from small ones. Why structural patterns? Structural patterns …
- What Are Design Patterns?
… Builder, Prototype, Singleton 🧱 Structural How do I connect objects into bigger structures? Adapter, Bridge, Composite, Decorator, Facade …
- Onion Architecture & Clean vs Hexagonal vs Onion
… frameworks & drivers mermaid flowchart LR subgraph Same["Same structure, three vocabularies"] direction LR O["Outside<br/ adapters · infrastructure …
- Observability: Logs, Metrics & Traces
… Write structured logs (JSON), not free text, so machines can search and filter them. js // ❌ Unstructured: hard to …
- SQL Language, Identifiers & Data Types
… DDL, DML and DCL DDL defines structures: CREATE, ALTER and DROP. DML reads/changes data: SELECT, INSERT, UPDATE …
- Code Smells & Refactoring
… a surface sign that probably points to a deeper design problem. Refactoring means changing the structure of code …
- Monolith vs Microservices
… start with a well-structured monolith, learn where the real boundaries are, then extract services when the pain …
- Clean Architecture in Depth
… Entities, use cases, input and output ports, presenters, crossing boundaries with DTOs, "screaming" folder structure, testing, and common …
- Heaps & Priority Queues
… That's a priority queue , and a heap is the clever data structure that implements it efficiently. Structure …
- Backend Languages: Node.js, Go, Python & Rust
… NestJS (structured, TypeScript-first) NestJS adds modules, dependency injection and decorators on top of Express/Fastify, similar to …
- DSA Interview Patterns Cheat Sheet
… O(n log n) Complexity cheat sheet Data structures Structure Access Search Insert Delete --- --- --- --- --- Array O(1) O …
- Deploying & Operating Microservices
… one trace ID across every hop. - Structured logs including the trace ID and service name. - Golden signals per …
- What Is Software Architecture?
… foundations and structure vs furniture and paint](/img/architecture/house-layers.svg) Architecture vs design vs code Level …
- Vertical Slice Architecture & the Modular Monolith
… Folder structures, rules, and how to enforce boundaries. Part 1: Vertical Slice Architecture The big idea A supermarket …
- SOLID at a Glance
… They answer one question: 🎯 How do I structure code so that a change in one place doesn't …
- Hexagonal Architecture (Ports & Adapters)
… Driving vs driven sides, a complete TypeScript example, testing with fake adapters, and how to structure the folders …
- What Is Clean Code?
… DRY YAGNI Errors Fail loudly No silent catch Structure Code smells Refactoring Clean Architecture The Boy Scout Rule …
- YAGNI: You Aren't Gonna Need It
… a feature with 3 users Clear names and structure Generic BaseAbstractManager<T classes Error handling and security Caching …
- React vs Vue vs Angular
… Vue + Nuxt] Q -- Large enterprise team,<br/ strict structure, everything built in A[Angular] 💡 The skills transfer. Components …
- Stacks & Queues
… Two simple structures behind undo buttons, browser history, task scheduling and many interview problems. The big idea ![A …
- Clean Architecture
… tests.- MEM[InMemoryUserRepository] I -.later?.- MG[(MongoUserRepository)] Folder structure text src/ ├── domain/ entities + business rules (no dependencies) │ └── User …
- State Management (Redux, Zustand, TanStack Query)
… Redux Toolkit (structured) Redux is the classic, predictable pattern: one store , state changed only by dispatching actions handled …
- Arrays & Strings
The most-used data structure. See how arrays live in memory, why some operations are instant and others …
- Layered (N-Tier) Architecture
… code by feature instead, to fix this. Folder structure text src/ ├── presentation/ controllers, routes, DTOs, views ├── business/ services …
- Serverless Architecture
… invest in structured logs, tracing (X-Ray / OpenTelemetry) Cost at sustained high load Containers or VMs can be …
- Helm, kubectl Cheat Sheet & Best Practices
… from a vault NetworkPolicy scanned, pinned image Operations structured logs metrics + alerts Helm / Kustomize in git GitOps deploys …
- Choosing an Architecture
… Q2["2️⃣ Code organisation<br/ How is code structured INSIDE each deployable?"] -- A2["Layered · Clean · Hexagonal ·<br/ Onion …
- Caching & Redis
… more than a cache Redis is an in-memory data-structure server. Its data types solve many real …
- Behavioral Patterns II: Chain, Template, Iterator, Mediator, Memento, Visitor
… new operations over the same structure const evaluate = { num: (n) = n.value, add: (n, visit) = visit(n.left …