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

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.
主站蜘蛛池模板: 九江县| 申扎县| 土默特左旗| 宁南县| 师宗县| 南昌县| 柳林县| 五华县| 巴彦淖尔市| 保亭| 阿勒泰市| 浙江省| 襄汾县| 焦作市| 奈曼旗| 镇江市| 洪湖市| 安吉县| 神木县| 闸北区| 鄯善县| 大港区| 莆田市| 甘南县| 蕉岭县| 龙州县| 和林格尔县| 彰武县| 登封市| 炉霍县| 麻栗坡县| 中超| 永昌县| 滦南县| 馆陶县| 博白县| 射洪县| 吉首市| 铜鼓县| 孝义市| 泾阳县|