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

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.

主站蜘蛛池模板: 阿尔山市| 潼南县| 黔西县| 绿春县| 兴文县| 镇江市| 万全县| 灵武市| 措勤县| 合山市| 开封县| 芷江| 江安县| 庄河市| 达拉特旗| 攀枝花市| 大悟县| 长子县| 淅川县| 嘉义市| 宁国市| 博乐市| 武城县| 太白县| 长治市| 海阳市| 乌拉特后旗| 乌苏市| 都昌县| 东莞市| 托克逊县| 杨浦区| 获嘉县| 陆丰市| 墨竹工卡县| 应用必备| 上犹县| 南漳县| 社旗县| 无棣县| 繁昌县|