Ifyou are new to microservices I suggest you go through my previous article to get to know some must-know concepts about microservices.
So, if you are good with microservices be prepared to learn about common mistakes and best practices for microservices.
Source: https://martinfowler.com/
π Design should be domain-driven design (DDD).
π Think of an e-commerce application with built-in microservice architecture. This e-commerce application has several services like customer service, shipping service, order handling service.
π The customer could appear in both customer service and shipping service but two different aspects. In customer service, there is customer registration, profile management (a customer creation part).
π But in the shipping module customer could be represented in a different aspect. But the main scope of the shipping service should be delivering products to customers.
π So basically, when you design a system or think of migrating to microservices, make sure you have a fresh domain driven design.
π Let me explain another mistake some people do when they want to be on microservices so badly just because itβs trending and popular.
π Assume an e-commerce application has the below services,
#microservices #software-engineering