您现在访问的是微软AZURE全球版技术文档网站,若需要访问由世纪互联运营的MICROSOFT AZURE中国区技术文档网站,请访问 https://docs.azure.cn.

Azure 应用程序的十个设计原则Ten design principles for Azure applications

遵循这些设计原则可以提高应用程序的可伸缩性、复原能力和易管理性。Follow these design principles to make your application more scalable, resilient, and manageable.

自我修复设计Design for self healing. 在分布式系统中,故障时有发生。In a distributed system, failures happen. 设计应用程序以在故障发生时进行自我修复。Design your application to be self healing when failures occur.

实现全面冗余Make all things redundant. 在应用程序中构建冗余,以避免出现单一故障点。Build redundancy into your application, to avoid having single points of failure.

尽量减少协调Minimize coordination. 最大程度地减少应用程序服务之间的协调以实现可伸缩性。Minimize coordination between application services to achieve scalability.

横向扩展设计。合理设计应用程序,以便能够通过按需添加或删除新实例对应用程序进行横向缩放。Design to scale out. Design your application so that it can scale horizontally, adding or removing new instances as demand requires.

通过分区解决限制Partition around limits. 使用分区来解决数据库、网络和计算限制。Use partitioning to work around database, network, and compute limits.

运营设计Design for operations. 合理设计应用程序,使运营团队获得所需的工具。Design your application so that the operations team has the tools they need.

使用托管服务Use managed services. 尽量使用平台即服务 (PaaS) 而不是基础结构即服务 (IaaS)。When possible, use platform as a service (PaaS) rather than infrastructure as a service (IaaS).

使用最佳的数据存储完成作业Use the best data store for the job. 选择最适合数据的存储技术,并了解如何使用该技术。Pick the storage technology that is the best fit for your data and how it will be used.

演变设计Design for evolution. 所有成功的应用程序会不断变化。All successful applications change over time. 演变设计是持续创新的关键。An evolutionary design is key for continuous innovation.

根据业务需求构建Build for the needs of business. 每个设计决策必须与业务要求相称。Every design decision must be justified by a business requirement.