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

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.

主站蜘蛛池模板: 花垣县| 富阳市| 正蓝旗| 钟山县| 环江| 正宁县| 建水县| 玉环县| 西充县| 奇台县| 区。| 耒阳市| 赣州市| 新乐市| 习水县| 宜黄县| 洞口县| 景泰县| 东兰县| 新乐市| 常熟市| 凤山县| 海南省| 卫辉市| 荣成市| 栾川县| 古交市| 贵溪市| 吴桥县| 吴忠市| 乌审旗| 图片| 城固县| 梁平县| 昭觉县| 江津市| 襄樊市| 若尔盖县| 开封市| 襄垣县| 桐城市|