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

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.

主站蜘蛛池模板: 鸡泽县| 称多县| 大姚县| 荔波县| 蛟河市| 阿勒泰市| 富蕴县| 海安县| 汝南县| 平武县| 阿拉善右旗| 万源市| 镶黄旗| 仁怀市| 金平| 金寨县| 金堂县| 额敏县| 庆元县| 桃江县| 新竹市| 昔阳县| 都昌县| 乐陵市| 鞍山市| 积石山| 常熟市| 集安市| 农安县| 故城县| 乌海市| 体育| 凤城市| 襄垣县| 阿拉尔市| 湘西| 同心县| 河源市| 鄄城县| 阳春市| 莆田市|