You are developing a server-side enterprise application.It must support a variety of different clients including desktop browse

admin2021-03-19  51

问题 You are developing a server-side enterprise application.It must support a variety of  different clients including desktop browsers,mobile browsers and native mobile applications.
The application might also expose all API for 3rd parties to consume.It might also(71)________with  other applications via either web services or a message broker,The application handles  requests(HTTP requests and messages)by executing business logic accessing a database; exchanging messages with other systems;and returning a HTML/JSON/XML(72)________.There  are logical components corresponding to different functional areas of the application.
What’S the application’S deployment architecture?
Define all architecture that structures the application as a set of(73)________,collaborating  services.This approach corresponds to the Y-axis of the Scale Cube.Each service is:
·Highly maintainable and testable—enables rapid and frequent development and  deployment
·Loosely coupled with other services—enables a team to work independently themajority of time on their service(s)without being impacted by changes to other   services and without affecting other services
  ·(74)________deployable—enables a team to deploy their service without having to  coordinate with other teams
·Capable of being developed by a small team—essential for high productivity by  avoiding the high communication head of large teams
Services(75)________using either synchronous protocols such as HTTP/REST or asynchronous  protocols such as AMQP.Services can be developed and deployed independently of one another.
Each service has its own database in order tO be decoupled from other services.Data   consistency between services is maintained using some particular pattern.
(75)

选项 A、interoperate
B、coordinate
C、communicate
D、depend

答案C

解析 假设你在开发一个服务端应用。该应用必须支持各种各样的客户端,包括桌面浏览器、手机浏览器和本地手机应用。应用可能也需要公开部分API供第三方使用,还可能与其他应用通过WebService或消息代理(messagebroker。)相集成。应用执行业务逻辑来处理请求(HTTP请求或者消息);访问数据库;与其他系统交换消息;并返回HTML/JSON/XML类型的响应。有一些逻辑组件对应于应用的不同功能模块。
应用的部署架构是什么?
通过采用y轴方向上伸缩立方(ScaleCube)来设计应用的架构,将应用按功能分解为一组松耦合且相互协作的服务的集合。每个服务具有如下特征:
·高可维护性和可测试性——支持快速、频繁的开发和部署:
·与其他服务松散耦合——使团队能够在大部分时间独立地工作于其服务上,而不
受对其他服务的更改的影响,也不影响其他服务;
·可独立部署——团队能够不与其他团队协调而部署他们的服务;
·能够由一个小团队开发——通过避免大型团队的高沟通主管,对高生产力至关重要。
服务问通过HTTP/REST等同步协议或AMQP等异步协议进行通信。服务可以独立开发和部署。每个服务有其自己的数据库,以便与其他服务解耦。服务之间的数据一致性通过其他特定的模式来维护。
转载请注明原文地址:https://kaotiyun.com/show/HFPZ777K
0

相关试题推荐
随机试题
最新回复(0)