Best of Design PatternsJuly 2023

  1. 1
    Article
    Avatar of cloudnativedailyCloud Native Daily·3y

    Microservices Patterns: Event Sourcing

    Event Sourcing is a different way of structuring the business logic and persisting aggregates. It persists an aggregate as a sequence of events and each event represents a state change of the aggregate. It helps to preserve the history of aggregates, which is valuable for auditing and regulatory purposes.

  2. 2
    Article
    Avatar of communityCommunity Picks·3y

    5 Important Microservice Design Patterns

    API Gateway is a service that acts as a front-end for microservices. The API Gateway pattern works by intercepting requests from clients and routing them to the appropriate service. The Circuit Breaker pattern is used to detect failures and prevent cascading failures in a distributed system.

  3. 3
    Article
    Avatar of devtoDEV·3y

    What Are SOLID Design Principles

    SOLID is an acronym for the first five Object-Oriented design principles by Robert C. Martin. SOLID principles are intended to make the software more understandable, flexible, scalable and maintainable. They promote good design practices and help developers create flexible, maintainable, and easy-to-understand software.

  4. 4
    Article
    Avatar of cloudnativedailyCloud Native Daily·3y

    Microservices Patterns: Business Service Patterns

    Hexagonal Architecture is an architectural pattern used in software architecture design. It aims at creating loosely coupled application components that can be easily connected to their software environment by means of ports and adapters. In this blog, I will try to emphasize those differences by revisiting some of the core design patterns and principles built into each architecture.

  5. 5
    Article
    Avatar of communityCommunity Picks·3y

    Optimizing Your Architecture with Microservices Design Patterns

    Optimizing Your Architecture with Microservices Design Patterns. We will explore the need for design patterns, popular patterns, and the importance of avoiding anti-patterns. These patterns provide guidance and best practices to overcome common problems such as service communication, data management, fault tolerance, and scalability.

  6. 6
    Article
    Avatar of cloudnativedailyCloud Native Daily·3y

    Microservices Patterns: Service Discovery Patterns

    A Service Registry is a centralized server / a database containing the location of service instances. In a microservices setup, services update their locations in the Service Registry at regular intervals. Service consumers can connect to the service registry and fetch the locations of those services. This will help the client to know where the service instance is located.

  7. 7
    Article
    Avatar of cloudnativedailyCloud Native Daily·3y

    Microservices Patterns: The Saga Pattern

    This blog will give the reader some insights into ACID Transactions, 2PC Pattern and finally the Saga Pattern. The primary objective is to give an overview of how Saga Pattern operates and how it can solve real-world distributed transactional issues. The blog was written with some background reading on multiple literature resources mentioned under the References.

  8. 8
    Article
    Avatar of davecallanDave Callan·3y

    SOLID principles are not laws

    SOLID principles are not laws. They are great to be aware of and have in your toolbox but they are not cost free. Don't use or aim for SOLID in your apps but use them when appropriate and they ADD VALUE, don’t use them just to say your code is SOLID.