Search

Lessons (23)

  • YAGNI: You Aren't Gonna Need It

    … Think these through. - Known, committed requirements: if it's on this sprint's board, it's not speculation …

  • System Design Interview Framework

    … clarify requirements, estimate scale, draw the core path, then deep dive into risks and recovery](/img/system-design …

  • Debug Latency Like an Investigator

    High CPU is not required for high latency. Follow percentile shape and trace wait time before scaling blindly …

  • Monolith vs Microservices

    … different release speeds or different technology . - Fault isolation requirements: payments must keep working when recommendations are down. ❌ Bad …

  • REST vs GraphQL vs gRPC

    … HTTP HTTP/2 Contract OpenAPI (optional) Schema (required) .proto (required) Data fetched Server decides Client decides Server decides …

  • TypeScript Essentials

    … transform existing types Utility Result Example use --- --- --- Partial<User All fields optional PATCH request body Required<User All …

  • REST API Design

    … path, required: true, schema: { type: string } } responses: "200": { description: The user, content: { application/json: { schema: { $ref: " /components/schemas …

  • CQRS & Event Sourcing

    … the user's own change. 💡 CQRS doesn't require separate databases. Even separate classes for reads and writes …

  • D — Dependency Inversion Principle

    … When --- --- --- Constructor new OrderService({ repo, mailer }) Most common, required dependencies Function parameter placeOrder(order, { mailer }) Functional code DI …

  • React vs Vue vs Angular

    … Language JS or TS JS or TS TypeScript (required) Reactivity Re-render + diff Proxy-based tracking Signals State …

  • L — Liskov Substitution Principle

    … instanceof ChildClass?"} -- yes V Q3{"Does the child require MORE<br/ or return LESS than the parent?"} -- yes …

  • What Is Apache Kafka?

    … Adding a new consumer requires zero changes to the producers. Core vocabulary Term Meaning Analogy --- --- --- Event / record / message …

  • Brokers, Replication & Durability

    … KRaft (Kafka 3.3+, required in 4.0)"] CQ["Controller quorum<br/ (Raft consensus)"] <-- KB2[Brokers] end Kafka …

  • Kubernetes Cluster Architecture

    … Docker images work fine; Docker itself isn't required) kube-proxy Programs networking rules so traffic to a …

  • Kafka Producers

    … true default since Kafka 3.0 acks=all required for idempotence retries=2147483647 max.in.flight.requests.per …

  • Microkernel (Plugin) Architecture

    … Isolate plug-in failures (and, for third parties, security). - Use it when extensibility and variation are real requirements.

  • Deploying & Operating Microservices

    … a new event type Make an optional field required Accept new optional input Change what an error code …

  • What Is Software Architecture?

    … Architecture is mostly driven by these. Attribute Question Example requirement --- --- --- Performance How fast? p95 page load under 300 …

  • Serverless Architecture

    … paths where cold starts hurt, and strict portability requirements. Key takeaways - Serverless = FaaS (functions triggered by events) + BaaS …

  • Creational Patterns: How to Make Objects

    … this. config.url) throw new Error("url is required"); return Object.freeze({ ...this. config }); } } const request = new RequestBuilder …

  • Normalization & Denormalization

    … one row, and creating a product does not require inventing an order. BCNF: every determinant is a candidate …

  • Choosing an Architecture

    … company. Evolutionary architecture Architecture isn't decided once. Requirements, scale and teams change, so design for change : mermaid …

  • React Hooks in Practice

    … They let small functions do what used to require classes. ![Which hook do I need?](/img/frontend/hooks …