Skip to content

Latest commit

 

History

History
179 lines (134 loc) · 2.78 KB

File metadata and controls

179 lines (134 loc) · 2.78 KB

master list of the most important patterns across software engineering 👇

🧠 1. Architectural Patterns (Big Picture)

  • Monolithic Architecture
  • Microservices Architecture
  • Service-Oriented Architecture (SOA)
  • Event-Driven Architecture (EDA)
  • Layered (n-tier) Architecture
  • Client-Server Architecture
  • Peer-to-Peer (P2P)
  • Serverless Architecture
  • Hexagonal Architecture (Ports & Adapters)
  • Clean Architecture
  • Onion Architecture
  • Microkernel Architecture (Plugin-based)
  • Space-Based Architecture
  • CQRS (Command Query Responsibility Segregation)
  • Event Sourcing

⚙️ 2. Design Patterns (GoF – Core OOP Patterns)

Creational

  • Singleton
  • Factory Method
  • Abstract Factory
  • Builder
  • Prototype

Structural

  • Adapter
  • Bridge
  • Composite
  • Decorator
  • Facade
  • Flyweight
  • Proxy

Behavioral

  • Observer (🔥 used in DOM events)
  • Strategy
  • Command
  • Chain of Responsibility
  • Mediator
  • Memento
  • State
  • Template Method
  • Visitor
  • Interpreter

🔄 3. Concurrency & Parallelism Patterns

  • Thread Pool
  • Producer-Consumer
  • Readers-Writers
  • Fork-Join
  • Actor Model
  • Reactor Pattern (🔥 Node.js core)
  • Proactor Pattern
  • Futures & Promises
  • Work Stealing

🌐 4. Distributed System Patterns

  • Publish-Subscribe (Pub/Sub)
  • Leader Election
  • Circuit Breaker
  • Bulkhead
  • Saga Pattern
  • API Gateway
  • Service Discovery
  • Distributed Cache
  • Sharding
  • Consistent Hashing
  • Gossip Protocol

🧩 5. Application / UI Patterns

  • MVC (Model-View-Controller)
  • MVP (Model-View-Presenter)
  • MVVM (Model-View-ViewModel)
  • Flux
  • Redux Pattern
  • Component-Based Architecture

🔌 6. Integration Patterns

  • Message Queue
  • Enterprise Service Bus (ESB)
  • Request-Reply
  • Content-Based Routing
  • Message Translator
  • Message Broker

🧱 7. Data & Storage Patterns

  • Repository Pattern
  • Unit of Work
  • Data Mapper
  • Active Record
  • DAO (Data Access Object)
  • Cache-Aside
  • Write-Through Cache
  • Write-Behind Cache

⚡ 8. Reactive & Streaming Patterns

  • Reactive Streams
  • Backpressure Handling
  • Event Streaming
  • Dataflow Programming

🔐 9. Security Patterns

  • Authentication Pattern
  • Authorization Pattern (RBAC, ABAC)
  • OAuth Flow
  • JWT Pattern
  • Zero Trust Architecture

🧪 10. Testing Patterns

  • Test-Driven Development (TDD)
  • Behavior-Driven Development (BDD)
  • Mocking
  • Test Pyramid

🧠 11. Domain & Advanced Patterns

  • Domain-Driven Design (DDD)
  • Aggregates
  • Value Objects
  • Anti-Corruption Layer
  • Bounded Context

⚙️ 12. DevOps & Deployment Patterns

  • Blue-Green Deployment
  • Canary Release
  • Rolling Deployment
  • Infrastructure as Code

🔥 Bonus (Modern / Trending)

  • Backend-for-Frontend (BFF)
  • Edge Computing Pattern
  • Jamstack
  • Feature Toggles
  • Strangler Fig Pattern