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

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 options as middleware.

Besides considering these solutions, our main priority should be inclined toward the architectural features. When microservices arrived, middleware was no more a consideration. Rather, the focus shifted to contemplation on 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, it would require the service to 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 with other components, services, or systems. The most popular data formats, also mostly 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 would not impact other services.
主站蜘蛛池模板: 炎陵县| 白朗县| 佳木斯市| 巴青县| 霸州市| 克拉玛依市| 朔州市| 米林县| 邛崃市| 恩平市| 陈巴尔虎旗| 邮箱| 岳阳市| 江源县| 同仁县| 桂林市| 津南区| 哈巴河县| 天长市| 长武县| 包头市| 浠水县| 嵩明县| 彭水| 兖州市| 门源| 胶南市| 正宁县| 日喀则市| 永寿县| 馆陶县| 灵宝市| 阳泉市| 崇州市| 田阳县| 清远市| 简阳市| 丹寨县| 吉木乃县| 和林格尔县| 重庆市|