Sunday, July 15, 2018

Microservices

Why  Should We  Use  Microservices ? 

#  It makes  our system loosely  coupled .
    If  we  need to repair , upgrade particular microservices  , we don't  have to rebuild  entire    application.
# Microservices  are divide based  on business capabilities ,focusing on  single business capabilities (Not like web microservice , data microservice).
# Microservices  communicate  each other  using  well  defined  interfaces  usually  REST or  Messaging queue .
# Microservices data is  federated also . It owns it  own data model . It  helps  to scaling  purposes  when  particular microservice  has huge  load .
#  Independent development .
#  Independent deployment .
#  We use http  or messaging queue for  communicating  with each  microservices .Most techologies support  http  or messaging queue   . 
#  So we  can use different  technologies for different microservices  .
#  Stateless  -  Each pair of  request and response  communication  makes an  independent  transaction .This gives  effortless scaling capability of  microservices .
# One service should not break due to , broke of another service .
# Granular Scaling .


Characteristics of  Microservices

# Organized on business capabilities
# Products  not projects 
# Decentralized governance 
# Decentralized data management

Referencees Used :-  What are microservices?

No comments:

Post a Comment

The AI Driven Software Developer, Optimize Innovate Transform

  The AI-Driven Software Developer: Optimize, Innovate, Transform": AI Transformation in Software Development : Understand how AI is re...