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

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.

主站蜘蛛池模板: 台州市| 来安县| 革吉县| 鸡西市| 道孚县| 永寿县| 萨迦县| 盈江县| 华容县| 资溪县| 福鼎市| 丰县| 疏附县| 子长县| 孟连| 峨眉山市| 柘城县| 乌拉特后旗| 正镶白旗| 嘉善县| 南投县| 卫辉市| 固阳县| 十堰市| 都兰县| 黄浦区| 渑池县| 阜阳市| 九江县| 丹寨县| 晋城| 安福县| 广河县| 阿勒泰市| 大渡口区| 大化| 新巴尔虎左旗| 灵川县| 垣曲县| 余江县| 太湖县|