软件架构复习笔记7_第1页
软件架构复习笔记7_第2页
软件架构复习笔记7_第3页
软件架构复习笔记7_第4页
软件架构复习笔记7_第5页
已阅读5页,还剩1页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、 HYPERLINK http:/blog.sheimi.me/note/2012/06/21/software-architecture-review-8.html 软件架构复习笔记(7) - 体系结构21 Jun 2012At NJU为什么需要有体系结构的设计(高层设计)详细设计的不足关注点偏差(载体失配)程序语言无法描述整理的质量要求无法实现佳偶信息本地化(信息隐藏的局限性)单词匹配的需求是模块见必须依赖与对方的接口无法有效抽象部件的整体特性(无法描述Module itself)接口的定义缺乏结构性模块的众多接口之间太独立了无法实现区别对待不能有效适应大型软件开发的特殊开发方法复用与单词

2、匹配多语言/多泛型与联合编译遗留资产与Module Inside使用Programming in the large 的特点载体复杂度过大:过于依赖单词匹配的导入导出关系导入导出并不适合整体结构设计体系结构设计the set of principal design decision about the system组成部分Components: computation and stateConnector: relation among components (deserve to be first-class)Configuration注意点Components should be inde

3、pendentConnectors should be independentRelations among components are not fixed体系结构设计的关注点Qualities of the systemavailabilitymodifiabilityperformancesecuritytestabilityusabilityProject EnvironmentsDevelop EnvironmentsBusiness EnvironmentsTechnology EnvironmentsBusiness GoalsWhy architectural design d

4、ecisions are important and difficult?Design decisions are cross cutting and intertwined:the design decision information is fragmented across various parts of the design, making it hard to find and change the decisions.Design rules and constraints are violated:designers can easily violate design rule

5、s and constraints arisingfrom previously taken design decisionslead to architectural drift and its associated problemsObsolete design decisions are not removedIn the current design practice removing design decisions is avoided, because of the effort needed, and the unexpected effects this removing c

6、an have on the system.Software Architecture Description4 + 1 View HYPERLINK http:/blog.sheimi.me/note/2012/06/18/software-architecture-review-1.html 传送门Logic to ProcessInside-out: from Logic structuredefine agent tasksObjects executed on that same agentseveral classes that need to be executed in mut

7、ual exclusionOutside-in: from physical structureidentify external stimuli (requests) to the systemdefine client and servers processesdefine the right set of servers,and allocate objects to the client and servers agentsLogic to Developmentvery close, but not the sameA Component is usually implemented

8、 as a module. Large one are decomposed into multiple packagesGrouping to subsystems based on:Strategies and Tactics (Ch5)Availability TacticsFault detectionPing echoHeartbeatExceptionRecovery preparation and repairVotingActive redundancy (hot restart)Passive redundancy (warm restart/dual redundancy/

9、)SpareRecovery reintroductionShadowState resynchronizationRollbackPreventionRemoval from serviceTransactionsProcess monitorModifiability Tactics HYPERLINK http:/blog.sheimi.me/note/2012/06/20/software-architecture-review-6.html 传送门Separate configure dataSeparate hardware-specific componentSeparate t

10、ime-critical componentSeparate domain model from interfacesSeparate domain model from technologiesSeparate monitor from functionSeparate error resume from core logicSeparate external interface adapterPerformance TacticsResource DemandIncrease computation efficiencyreduce computational overheadManage

11、 event rateControl frequency of samplingResource ManagementIntroduce concurrencyMaintain multiple copiesIncrease available resourcesResource AbstractionSheduling policySecurity TacticsResisting AttacksAuthenticate UsersAuthorize UsersMaintain data confidentialityMaintain IntegrityLimit ExposureLimit AccessDetecting AttacksIntrusion detectionRecorvering from an AttackRestoration availabilityIdentification Audi

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

最新文档

评论

0/150

提交评论