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

What makes a good service?

Before microservices were conceptualized, whenever we thought of enterprise application integration, middleware looked like the most feasible option. Software vendors offered Enterprise Service Bus (ESB), and it was one of the best options for middleware.

Besides considering these solutions, our main priority should be inclined toward the architectural features. When microservices arrived, middleware was no longer a consideration. Rather, the focus shifted to contemplation of business problems and how to tackle those problems with the help of the architecture.

In order to make a service that can be used and maintained easily by developers and users, the service must have the following features (we can also consider these as characteristics of good services):

  • Standard data formats: Good services should follow standardized data formats while exchanging services or systems with other components. The most popular data formats used in the .NET stack are XML and JSON.
  • Standard communication protocol: Good services should obey standard communication formats, such as SOAP and REST.
  • Loose coupling: One of the most important characteristics of a good service is that it follows loose coupling. When services are loosely coupled, we don't have to worry about changes. Changes in one service will not impact other services.
主站蜘蛛池模板: 万年县| 沭阳县| 苍山县| 丹棱县| 黎川县| 元阳县| 蓝山县| 怀来县| 汤阴县| 山阴县| 隆昌县| 铅山县| 柘城县| 台南市| 苏尼特左旗| 海晏县| 阜新市| 漳州市| 临颍县| 德钦县| 伊春市| 东阿县| 沅江市| 镇安县| 云林县| 革吉县| 奇台县| 白沙| 南投县| 通河县| 象山县| 兴和县| 阿瓦提县| 印江| 夏河县| 东至县| 阳泉市| 宁强县| 吴川市| 泰顺县| 山东|