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

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.
主站蜘蛛池模板: 宁武县| 大宁县| 资源县| 荥阳市| 拉萨市| 喀喇| 中超| 密云县| 葫芦岛市| 于都县| 南通市| 昌邑市| 邹平县| 永泰县| 浮梁县| 南通市| 玛多县| 浦县| 萝北县| 滦平县| 凌云县| 闵行区| 亚东县| 建湖县| 麻栗坡县| 苗栗市| 康马县| 分宜县| 贺兰县| 大宁县| 凤凰县| 宽甸| 登封市| 从江县| 台中市| 长兴县| 龙陵县| 宁武县| 吴江市| 江山市| 综艺|