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

More network interactions

The second problem is the amount of network interactions added to build the same application. In the monolithic version, even if the code gets messy, everything happens in the same process, and you can send back the result without having to call too many backend services to build the actual response.

That requires extra attention on how each backend service is called, and raises a lot of questions like the following:

  • What happens when the Booking UI cannot reach the PDF reporting service because of a network split or a laggy service?
  • Does the Booking UI call the other services synchronously or asynchronously?
  • How will that impact the response time?

We will need to have a solid strategy to be able to answer all those questions, and we will address those in Chapter 5, Interacting with Other Services.

主站蜘蛛池模板: 富平县| 临沧市| 仙游县| 桐乡市| 阆中市| 邵武市| 铜川市| 鸡东县| 潼南县| 山丹县| 金平| 乾安县| 如皋市| 宿州市| 朝阳市| 英超| 象山县| 青岛市| 湖口县| 枞阳县| 平邑县| 洛宁县| 兖州市| 临洮县| 勐海县| 施秉县| 泾川县| 石棉县| 潼南县| 婺源县| 兰坪| 凌海市| 天津市| 永和县| 黑水县| 铁岭县| 恩平市| 沧源| 彭泽县| 聂拉木县| 丁青县|