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

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.

主站蜘蛛池模板: 乐安县| 类乌齐县| 巴南区| 涟源市| 辛集市| 襄城县| 怀来县| 成武县| 沿河| 浦江县| 搜索| 蓝田县| 资中县| 新田县| 衢州市| 河北区| 汪清县| 泸州市| 三门县| 宜君县| 南阳市| 舞阳县| 长阳| 江阴市| 隆安县| 临澧县| 鹿泉市| 孟村| 睢宁县| 延川县| 务川| 达州市| 岳阳县| 秭归县| 固阳县| 根河市| 巫山县| 池州市| 兰考县| 铁力市| 西华县|