--
You received this message because you are subscribed to the Google Groups "microservices" group.
To unsubscribe from this group and stop receiving emails from it, send an email to microservice...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/microservices/2480b2ed-45b7-4e4b-966d-1bc45cab054a%40googlegroups.com.
Just avoid layering of MS itself into artificial layering inspired by client server types layering thought process. I have seen people using terms like core services layer, composite service layer and channel service layer (even API MS layer :-)) and that is definitely not recommended. Vertical decomposition aligned to capabilities tends to deliver better.
Arun,
The primary principle is that services (and the teams that own them) should be organized around business capabilities.They are vertical slices.I've seen architectures that have a technically layered architecture:
- Entity services - entity services that wrap the DB
- Business logic services
- Coordination services
This kind of technical layering (of backend services) is generally an anti-pattern.Perhaps the one exception is that you still might have a presentation layer, e.g. web application that generates HTML pages.Chris
On Mon, Apr 27, 2020 at 5:03 PM Arun Nair <arun...@gmail.com> wrote:
Hi,--Is it recommended that you follow a layered architecture while developing microservices? For example at https://docs.microsoft.com/en-us/dotnet/architecture/microservices/microservice-ddd-cqrs-patterns/microservice-application-layer-web-api-design they talk about application layer.This is also mentioned at https://medium.com/microservices-in-practice/microservices-layered-architecture-88a7fc38d3f1.My understanding was that there are no physical layers in microservices. Is this wrong?Thanks,Arun
You received this message because you are subscribed to the Google Groups "microservices" group.
To unsubscribe from this group and stop receiving emails from it, send an email to micros...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/microservices/2480b2ed-45b7-4e4b-966d-1bc45cab054a%40googlegroups.com.