1. Software Architecturehistorical

    Architecture describes a whole, its parts, and their relationships at an abstract level to address software complexity. These notes organize architecture by layer.

  2. Architecture Patternshistorical

    This page links architecture patterns such as monolithic, layered, event-driven, read-write separation, and microservices for comparison.

  3. Monolithic Architecturehistorical

    Monolithic Architecture: A design style that packages all functions into one container to run. One instance integrates all functions of a system. Multiple instances are invoked through load-balancing software/devices.

  4. Layered Architecturehistorical

    Layered architecture organizes code by role and responsibility, with upper layers depending on lower ones. These notes examine dependencies and visibility between layers.

  5. Read/Write Separation Architecturehistorical

    Read-write separation assigns reads and writes to different roles. These notes connect it with leader-follower replication and increased read throughput.

  6. Event-Driven Architecturehistorical

    Event-driven architecture publishes messages on state changes so other parts can respond. These notes examine it through decoupling publishers from consumers.

  7. Domain-Driven Designhistorical

    Domain-driven design organizes systems around business domains. These notes introduce the approach through domain boundaries and decomposition.

  8. Microserviceshistorical

    Microservices: Microservice architecture is an architecture that splits a monolithic application into a group of services by functional module.

  9. OpenID Connecthistorical

    OpenID Connect defines authentication conventions on top of OAuth. These notes examine their relationship through the distinction between authorization and authentication.

  10. JWThistorical

    JWT can serve as a token issued after user authentication. These notes examine its structure, validation, and usage through the role of tokens.

  11. OAuthhistorical

    OAuth is an authorization protocol through which users allow third-party applications to access their data. These notes examine its roles and flows.

  12. How to Design a Configuration Centerhistorical

    A configuration center manages settings independently of code releases. These notes compare client polling and server push for delivering changes.

  13. How to Design a Load-Balancing Componenthistorical

    Load balancing distributes requests across machines, using shared work and redundancy to improve performance and availability. These notes examine implementation approaches.

  14. How to Design a Service Registryhistorical

    A registry maps service names to addresses and ports so callers need not hard-code destination IPs. These notes examine its design from that requirement.

  15. How to Design an API Gatewayhistorical

    An API gateway is an entry point for external requests and handles routing and filtering. These notes examine its relationship to backend services through those responsibilities.

  16. How to Design a Monitoring Systemhistorical

    Monitoring observes systems through logs, metrics, and traces. These notes examine centralized queries, trend-based alerting, and request-path diagnosis.

  17. How to Design Distributed Tracinghistorical

    Distributed tracing records the nodes a request passes through and their durations, helping locate problems within the call chain.

  18. How to Design a Fault-Tolerance Componenthistorical

    A service failure can affect availability across a microservice call chain. These notes examine fault-tolerance components through limiting failure propagation.

  19. How to Design Log Monitoringhistorical

    Log monitoring centralizes logs from different machines for querying and analysis, reducing the need to inspect each host separately.

  20. How to Design Metrics Monitoringhistorical

    Metrics record event times and values for trend analysis and early alerting. These notes examine monitoring-system design through those purposes.

  21. How to Design Authentication and Authorizationhistorical

    Authentication identifies the user, while authorization determines which resources that identity may access. These notes distinguish both and examine their system design.

  22. ER Diagramhistorical

    ER diagrams describe conceptual models through entities, attributes, and relationships. These notes record how those elements are represented and connected.

  23. UMLhistorical

    UML describes systems through structure and behavior. This page links class, deployment, component, use-case, state, and related diagrams.

  24. Class Diagramhistorical

    Class diagrams describe attributes, methods, and relationships among classes. These notes introduce notation such as visibility markers.

  25. Sequence Diagramhistorical

    Sequence diagrams show interactions between users and system components, emphasizing message order. These notes record the notation through examples.

  26. Flowcharthistorical

    Flowcharts show detailed process steps and can describe complex function logic. These notes record the notation through examples.

  27. State Diagramhistorical

    State diagrams describe the states an object can occupy and how events cause transitions between them.

  28. Component Diagramhistorical

    Component diagrams show software components and their dependencies. These notes use them to describe layered structures and connections among libraries and other components.

  29. Deployment Diagramhistorical

    A deployment diagram describes the runtime structure of a system, showing hardware configuration and how software is deployed into the network structure.

  30. Architecture Diagramshistorical

    Architecture diagrams can show business processes, application modules, and technologies. These notes organize their uses by communication goal.

  31. Functional Options Patternhistorical

    The functional-options pattern supplies default configuration and changes selected properties through option functions. These notes examine that construction approach.

  32. Function Types as Interfaceshistorical

    An interface function is a function type that implements an interface, allowing ordinary functions and struct implementations to participate in the same interface-based calls.

  33. Event Sourcinghistorical

    Event sourcing persists data changes as events. These notes start with traditional CRUD limitations and examine recording state changes through events.

  34. Publish–Subscribe Patternhistorical

    Publish-subscribe involves publishers, an event center, and subscribers. Subscribers register interest in events and receive messages through the event center.

  35. Producer–Consumer Patternhistorical

    Producers place data in a queue and consumers retrieve it for processing. These notes introduce the producer-consumer pattern through those three roles.

  36. Open–Closed Principlehistorical

    The open-closed principle favors extension without modifying existing code, reducing the risks introduced by maintenance changes.

  37. Liskov Substitution Principlehistorical

    The Liskov substitution principle requires subclasses to preserve the meaning and expectations of parent-class methods. These notes examine inheritance and extension through it.

  38. Dependency Inversion Principlehistorical

    Dependency inversion favors interfaces over implementations and avoids direct high-level dependence on low-level details. These notes examine extensibility through that principle.

  39. Single Responsibility Principlehistorical

    The single-responsibility principle keeps a class's responsibilities focused. These notes examine readability and maintenance through that idea.

  40. Interface Segregation Principlehistorical

    Interface segregation keeps interfaces focused on clear responsibilities. These notes examine decoupling and readability through that requirement.

  41. Law of Demeterhistorical

    The Law of Demeter asks a class to know as little as possible about other objects' internals, reducing coupling.

  42. Composition Reuse Principlehistorical

    Composite reuse favors composition or aggregation over inheritance. These notes examine code reuse and extension through that principle.

  43. Object-Oriented Design Principleshistorical

    Object-oriented design principles aim to improve maintainability, extensibility, and reuse. This page links notes on the individual principles.

  44. Object-Oriented Design Patternshistorical

    Design patterns are reusable solutions to recurring problems. These notes organize patterns into creational, structural, and behavioral categories.

  45. Singleton Patternhistorical

    The singleton pattern restricts a class to one instance. Implementation examples examine how that instance is created and accessed.

  46. Proxy Patternhistorical

    The proxy pattern adds functionality through a proxy object without mixing unrelated logic into business code. These notes record implementations through examples.

  47. Template Methodhistorical

    When an algorithm's overall steps are fixed but details vary, the template method keeps the process in a parent class and delegates variable parts to concrete implementations.

  48. Factory Methodhistorical

    Factory methods delegate concrete-product creation to corresponding factories so callers depend on a creation interface. These notes compare them with simple factories through code.

  49. State Patternhistorical

    The state pattern chooses behavior according to an object's current state. These notes compare it with the strategy pattern through examples.

  50. Builder Patternhistorical

    The builder pattern assembles objects with multiple parts and complex construction steps, using a builder to organize construction.

  51. Strategy Patternhistorical

    When a task has several possible approaches, the strategy pattern separates the algorithms and selects an appropriate strategy.

  52. Observer Patternhistorical

    The observer pattern notifies observers when a target object's state changes. These notes introduce the notification relationship through those two roles.

  53. Decorator Patternhistorical

    The decorator pattern adds functionality while retaining existing code by wrapping an object with additional behavior. These notes record the approach through examples.

  54. Chain of Responsibilityhistorical

    A chain of responsibility links handlers for a type of request and passes requests along the chain. These notes illustrate it through scenarios such as Servlet filters.

  55. Adapter Patternhistorical

    The adapter pattern translates between interfaces so an existing implementation can work through a different interface. These notes record that compatibility approach through code.

  56. Service Meshhistorical

    Cloud-native approaches cover solutions for applications deployed to the cloud. These notes start with cloud platforms and related technologies before examining Service Mesh.

  57. How to Design a Container Scheduling Systemhistorical

    This note records container-scheduling-system design in diagrams as an entry point to its architecture and component relationships.

  58. How to Design a Pipeline Systemhistorical

    Pipelines automate steps such as building, testing, and deployment. These notes organize pipeline-system components through delivery-efficiency needs.

  59. dothistorical

    DOT defines graphs with graph or digraph and describes nodes and edges. These notes begin with those basic elements.

  60. draw.iohistorical

    This note records draw.io custom-shape usage and references to browser-based diagrams.net tools.

  61. Use-Case Diagramhistorical

    Use-case diagrams describe system actors and the functions available to each. These notes record relationships between actors and use cases.

  62. Prototype Patternhistorical

    When object creation requires substantial preparation, an existing object can be copied and adjusted. These notes introduce the prototype pattern through that idea.

  63. Abstract Factory Patternhistorical

    An abstract factory creates families of related products. These notes examine factory responsibilities through scenarios requiring multiple product components.

  64. Simple Factory Patternhistorical

    A simple factory separates object creation from usage, selecting and creating concrete instances. These notes illustrate that division through examples.

  65. Design Patterns I Have Usedhistorical

    Questions and answers review design patterns used in practice, starting with singleton implementation and linking code with usage scenarios.

  66. Flyweight Patternhistorical

    The flyweight pattern reuses many identical or similar objects to reduce repeated creation. These notes examine shared-object organization through examples.

  67. Facade Patternhistorical

    The facade pattern places a complex process behind a unified entry point so callers can access internal functionality through a simpler interface.

  68. Bridge Patternhistorical

    The bridge pattern handles class structures that vary along multiple dimensions. These notes use examples to show how to separate and combine those dimensions.

  69. Composite Patternhistorical

    The composite pattern represents parts and wholes in a tree so callers can access leaf and container nodes consistently.

  70. Mediator Patternhistorical

    Direct interactions among objects can create complex coupling. The mediator pattern places coordination in an intermediary, illustrated here through examples.

  71. Command Patternhistorical

    Examples involving courses and command interfaces demonstrate the command pattern and how requests are wrapped as objects for execution.

  72. Memento Patternhistorical

    The memento pattern stores an object's state for later restoration. These notes examine saving and retrieving state through scenarios such as undo.

  73. Visitor Patternhistorical

    The visitor pattern separates data structures from operations into different classes. These notes use code to examine how operations act on the structure.

  74. Iterator Patternhistorical

    Iterators provide a way to traverse aggregate objects separately from their structure. These notes record the pattern and its use in the JDK.

  75. Object-Oriented Programminghistorical

    This page collects object-oriented programming topics, connecting design principles with creational, structural, and behavioral patterns.

  76. Programming Paradigmshistorical

    Programs can be organized under different paradigms. These notes list procedural, event-driven, and object-oriented approaches and link their related topics.

  77. Software Engineeringhistorical

    Software engineering involves stages such as product design and project development. This page organizes related topics by stage.