azure - Calling Micro service inside a micro service -


microsoft - micro service architecture

could reliable call multiple micro services single micro service?

if have developed 2 different micro services of customers , orders own database (i.e. customer db , order db), , if combined data of customers , orders, best option that?

we want call 1 microservice call 2 separate microservices of customers , orders , combined data , return response of our choice. usage true?

in way, call 2 separate micro services our application side , combined data there.

i option best performance, reliable , standard approach process.

can tell me options ?

and 1 more thing performance better in both side in micro service response , in application side well,

if other options available please specify.

it depends on how resilient want system boils down 2 type of communication: synchronous or asynchronous.

for lesser resilience simpler architecture use synchronous communication. in architecture when microservice fails dependent microservices fail. should use circuit breaker or bulkheads patterns.

for greater resilience more complex architecture should use asynchronous communication style. in style microservices communicate using messages.


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -