Information Technology Broadcasting - اطلاع‌رسانی فناوری اطلاعات
405 subscribers
14K photos
42 videos
510 files
489 links
Information Technology, Cloud computing, Digital transformation, IoT, Edge computing, IT governance, Fog computing, IT security, IT regulation, IT trends, Programming، Big data, Monitoring, Databases, Api, Service, business process, business capability
Download Telegram
10 #microservices #design patterns for better #architecture

1. #Database per #service pattern

The database is one of the most important components of microservices architecture, but it isn’t uncommon for developers to overlook the database per service pattern when building their services. Database organization will affect the efficiency and complexity of the application. The most common options that a developer can use when determining the organizational architecture of an application are:
Dedicated database for each service:

A database dedicated to one service can’t be accessed by other services. This is one of the reasons that makes it much easier to scale and understand from a whole end-to-end #business aspect.
👍1
6. Command query responsibility segregation (CQRS)

A developer might use a command query responsibility segregation (CQRS) design #pattern if they want a solution to traditional #database issues like #data contention risk. CQRS can also be used for situations when app #performance and #security are complex and objects are exposed to both reading and writing transactions.
👍2