<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/tags/design-patterns/best-of/2023/07" -->

---
title: Best Design Patterns posts — July 2023 | daily.dev
description: The most upvoted Design Patterns posts from July 2023, curated by the daily.dev community.
canonical: https://daily.dev/tags/design-patterns/best-of/2023/07
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:url: https://daily.dev/tags/design-patterns/best-of/2023/07
og:type: website
og:site_name: daily.dev
og:title: Best Design Patterns posts — July 2023 | daily.dev
og:description: The most upvoted Design Patterns posts from July 2023, curated by the daily.dev community.
og:image: https://media.daily.dev/image/upload/s--VAY5ToZt--/f_auto/v1724209435/public/daily.dev%20-%20open%20graph
---

# Best of Design Patterns — July 2023

1. 1  
[](https://daily.dev/posts/microservices-patterns-event-sourcing-gcdkka8gr "Microservices Patterns: Event Sourcing")  
Article  
![Avatar of cloudnativedaily](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/71803eeb535844dc9e04ac81e33f87fc)Cloud 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.  
67
2. 2  
[](https://daily.dev/posts/5-important-microservice-design-patterns-ojyx8c39u "5 Important Microservice Design Patterns")  
Article  
![Avatar of community](https://media.daily.dev/image/upload/t_logo,f_auto/v1655817725/logos/community)Community 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.  
64  
2
3. 3  
[](https://daily.dev/posts/what-are-solid-design-principles-l2ohkgmyp "What Are SOLID Design Principles")  
Article  
![Avatar of devto](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/devto)DEV · 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.  
53  
4
4. 4  
[](https://daily.dev/posts/microservices-patterns-business-service-patterns-6isdtkpir "Microservices Patterns: Business Service Patterns")  
Article  
![Avatar of cloudnativedaily](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/71803eeb535844dc9e04ac81e33f87fc)Cloud 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.  
36
5. 5  
[](https://daily.dev/posts/optimizing-your-architecture-with-microservices-design-patterns-tll1qzggc "Optimizing Your Architecture with Microservices Design Patterns")  
Article  
![Avatar of community](https://media.daily.dev/image/upload/t_logo,f_auto/v1655817725/logos/community)Community 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.  
35  
10
6. 6  
[](https://daily.dev/posts/microservices-patterns-service-discovery-patterns-njx7mfddu "Microservices Patterns: Service Discovery Patterns")  
Article  
![Avatar of cloudnativedaily](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/71803eeb535844dc9e04ac81e33f87fc)Cloud 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.  
28
7. 7  
[](https://daily.dev/posts/microservices-patterns-the-saga-pattern-wedysakxg "Microservices Patterns: The Saga Pattern")  
Article  
![Avatar of cloudnativedaily](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/71803eeb535844dc9e04ac81e33f87fc)Cloud 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.  
28
8. 8  
[](https://daily.dev/posts/solid-principles-are-not-laws-134dt0bbn "SOLID principles are not laws")  
Article  
![Avatar of davecallan](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/810db14ef74c40d69e70efbaf123835d)Dave 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.  
19  
4

[See all Design Patterns archives](/tags/design-patterns/best-of)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@graph":[{"@type":"CollectionPage","@id":"https://daily.dev/tags/design-patterns/best-of/2023/07#page","url":"https://daily.dev/tags/design-patterns/best-of/2023/07","name":"Best Design Patterns Posts — July 2023","description":"The most upvoted Design Patterns posts from July 2023, curated by the daily.dev community.","isPartOf":{"@type":"WebSite","url":"https://daily.dev"}},{"@type":"ItemList","@id":"https://daily.dev/tags/design-patterns/best-of/2023/07#items","numberOfItems":8,"itemListElement":[{"@type":"ListItem","position":1,"url":"https://daily.dev/posts/microservices-patterns-event-sourcing-gcdkka8gr","name":"Microservices Patterns: Event Sourcing"},{"@type":"ListItem","position":2,"url":"https://daily.dev/posts/5-important-microservice-design-patterns-ojyx8c39u","name":"5 Important Microservice Design Patterns"},{"@type":"ListItem","position":3,"url":"https://daily.dev/posts/what-are-solid-design-principles-l2ohkgmyp","name":"What Are SOLID Design Principles"},{"@type":"ListItem","position":4,"url":"https://daily.dev/posts/microservices-patterns-business-service-patterns-6isdtkpir","name":"Microservices Patterns: Business Service Patterns"},{"@type":"ListItem","position":5,"url":"https://daily.dev/posts/optimizing-your-architecture-with-microservices-design-patterns-tll1qzggc","name":"Optimizing Your Architecture with Microservices Design Patterns"},{"@type":"ListItem","position":6,"url":"https://daily.dev/posts/microservices-patterns-service-discovery-patterns-njx7mfddu","name":"Microservices Patterns: Service Discovery Patterns"},{"@type":"ListItem","position":7,"url":"https://daily.dev/posts/microservices-patterns-the-saga-pattern-wedysakxg","name":"Microservices Patterns: The Saga Pattern"},{"@type":"ListItem","position":8,"url":"https://daily.dev/posts/solid-principles-are-not-laws-134dt0bbn","name":"SOLID principles are not laws"}]},{"@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Tags","item":"https://daily.dev/tags"},{"@type":"ListItem","position":3,"name":"Design Patterns","item":"https://daily.dev/tags/design-patterns"},{"@type":"ListItem","position":4,"name":"Best of","item":"https://daily.dev/tags/design-patterns/best-of"},{"@type":"ListItem","position":5,"name":"July 2023"}]}]}
```

