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

Testing

Last, when you want to do some end-to-end tests and deploy your whole app, you now have to deal with many bricks. You need to have a robust and agile deployment process to be efficient. You need to be able to play with your whole application when you develop it. You can't fully test things out with just one piece of the puzzle.

Hopefully, there are now many tools to facilitate deployments of applications that are built with several components, as we will learn about throughout this book. And all those tools probably helped in the success and adoption of microservices and vice versa.

Microservices-style architecture boosts deployment tools innovation, and deployment tools lower the bar for the approval of microservices-style architecture.

The pitfalls of using microservices can be summarized as follows:

  • Premature splitting of an application into microservices can lead to architectural problems
  • Network interactions between microservices add weaknesses spots and additional overhead
  • Testing and deploying microservices can be complex
  • And the biggest challenge--data sharing between microservices is hard

You should not worry too much about all the pitfalls described in this section for now.

They may seem overwhelming, and the traditional monolithic application may look like a safer bet, but in the long term, splitting your project into microservices will make many of your tasks, as a developer or as an Operation person (Ops), easier.

主站蜘蛛池模板: 克什克腾旗| 吴旗县| 太谷县| 灌南县| 屏山县| 定边县| 平谷区| 射阳县| 青岛市| 五原县| 开鲁县| 金湖县| 乌拉特前旗| 墨玉县| 晋城| 抚顺县| 民县| 桐柏县| 南城县| 平潭县| 宁化县| 化德县| 巴南区| 岳普湖县| 吉安市| 和林格尔县| 吉隆县| 靖江市| 天津市| 高邮市| 平度市| 共和县| 兴文县| 铁力市| 阳新县| 清苑县| 罗田县| 永仁县| 新乐市| 湖州市| 梅州市|