官术网_书友最值得收藏!

Service granularity

Here are the types of services:

  • Atomic or system services: These are the services that do a unit level of work and are enough to service the request by either referring to a database or a downstream source.
  • Composite or process services: These services depend on the coordination between two or more atomic services. Typically, composite microservices are discouraged unless the business case already involves using existing atomic services. An example is a credit card payment from a savings account that calls two services, one to debit the savings account, and an other to credit the card account. Composite microservices also introduce inherent complexity such as state management and transactions that are difficult in a distributed scenario.
  • Experience services: These services are tied to the customer journey and are deployed at the edge of the infrastructure. These services handle requests from the mobile and web applications. These services are exposed through a reverse proxy using tools such as API gateways.
主站蜘蛛池模板: 平远县| 新巴尔虎左旗| 永川市| 沙河市| 宁安市| 广平县| 手游| 保靖县| 手游| 资兴市| 同江市| 柳江县| 二连浩特市| 中卫市| 湖北省| 荣成市| 沅江市| 高尔夫| 安新县| 克拉玛依市| 聂荣县| 辽阳县| 黔江区| 绵竹市| 藁城市| 博罗县| 闸北区| 丹寨县| 岳池县| 印江| 工布江达县| 肥西县| 屏东市| 界首市| 金堂县| 贞丰县| 武山县| 福建省| 紫金县| 宣汉县| 京山县|