Let's discuss the architecture of a microservice environment. We are having a discussion inteally at our company and I'd like some feedback. What I'm having serious thoughts about are an orchestration layer (code duplication, more moving parts changing an api).
Option one - with orchestration layer:
webapp -> orchestration -> service -> persistance
api -> api gw -> orchestration -> service -> persistance
In this case services are not allowed to talk to each other. Aggregated services in orchestration layer
Option one - without orchestration layer:
webapp -> service -> persistance
api -> api gw -> service -> persistance
Here services are allowed to talk to each other, aggregated services exist here.
Specific questions:
- Where does billing belong?
- Which solution do you prefer? Pros/cons.
- Other suggestions?
