Azure Service Fabric 概述Overview of Azure Service Fabric

Azure Service Fabric 是一个分布式系统平台,可方便用户打包、部署和管理可缩放且可靠的微服务和容器。Azure Service Fabric is a distributed systems platform that makes it easy to package, deploy, and manage scalable and reliable microservices and containers. Service Fabric 还解决了开发和管理云原生应用程序面临的重大难题。Service Fabric also addresses the significant challenges in developing and managing cloud native applications.

Service Fabric 的一个重要差异化因素是,它重点用于构建有状态服务。A key differentiator of Service Fabric is its strong focus on building stateful services. 你可以使用 Service Fabric 编程模型或运行以任何语言或代码编写的容器化有状态服务。You can use the Service Fabric programming model or run containerized stateful services written in any language or code. 除了 Azure 之外,你还可以在任何位置创建 Service Fabric 群集,包括本地和其他公有云上的 Windows Server 和 Linux。You can create Service Fabric clusters anywhere, including Windows Server and Linux on premises and other public clouds, in addition to Azure.

Service Fabric 平台提供了生命周期管理、可用性、业务流程、编程模型、运行状况和监视、开发和操作工具,以及在 Azure、本地、其他云和你的开发计算机上进行自动缩放的功能

Service Fabric 为当今很多 Azure 服务提供技术支持,包括 Azure SQL 数据库、Azure Cosmos DB、Cortana、Microsoft Power BI、Microsoft Intune、Azure 事件中心、Azure IoT 中心、Dynamics 365、Skype for Business 以及其他许多核心 Azure 服务。Service Fabric powers many Azure services today, including Azure SQL Database, Azure Cosmos DB, Cortana, Microsoft Power BI, Microsoft Intune, Azure Event Hubs, Azure IoT Hub, Dynamics 365, Skype for Business, and many core Azure services.

容器业务流程Container orchestration

Service Fabric 是 Azure 的容器业务流程协调程序,用于在计算机群集中部署和管理微服务,吸取了大规模运行 Azure 服务的经验教训。Service Fabric is Azure's container orchestrator for deploying and managing microservices across a cluster of machines, benefiting from the lessons learned running Azure services at massive scale. Service Fabric 几秒内就可以高密度部署应用程序,即每台计算机部署成百上千个应用程序或容器。Service Fabric can deploy applications in seconds, at high density with hundreds or thousands of applications or containers per machine. 使用 Service Fabric,可以在同一个应用程序中将进程中的服务和容器中的服务混用。With Service Fabric, you can mix both services in processes and services in containers in the same application.

详细了解 Service Fabric 核心概念、编程模型、应用程序生命周期、测试、群集和运行状况监视。Learn more about Service Fabric core concepts, programming models, application lifecycle, testing, clusters, and health monitoring.

无状态和有状态微服务Stateless and stateful microservices

Service Fabric 提供了一种复杂的轻型运行时,可支持无状态和有状态微服务。Service Fabric provides a sophisticated, lightweight runtime that supports stateless and stateful microservices. Service Fabric 的一个重要差异化因素是它高度支持使用 Service Fabric 内置编程模型或容器化有状态服务生成有状态服务。A key differentiator of Service Fabric is its robust support for building stateful services, either with Service Fabric built-in programming models or containerized stateful services.

详细了解受益于 Service Fabric 有状态服务的应用程序方案Learn more about application scenarios that benefit from Service Fabric stateful services.

应用程序生命周期管理Application lifecycle management

Service Fabric 为云应用程序(包括容器)的整个应用程序生命周期和 CI/CD 提供支持:从开发到部署,到日常监视、管理和维护,再到最终解除授权。Service Fabric provides support for the full application lifecycle and CI/CD of cloud applications including containers: development through deployment, daily monitoring, management, and maintenance, to eventual decommissioning. Service Fabric 与 Azure PipelinesJenkinsOctopus Deploy 等 CI/CD 工具集成,并可与其他任何常用 CI/CD 工具配合使用。Service Fabric is integrated with CI/CD tools such as Azure Pipelines, Jenkins, and Octopus Deploy and can be used with any other popular CI/CD tool.

有关应用程序生命周期管理的详细信息,请参阅应用程序生命周期For more information about application lifecycle management, read Application lifecycle. 若要将现有应用程序部署到 Service Fabric,请参阅部署来宾可执行文件For deploying existing applications to Service Fabric, see Deploy a guest executable.

不限 OS 和云Any OS, any cloud

可以在许多环境中(包括在 Azure 中或本地在 Windows Server 或 Linux 中)为 Service Fabric 创建群集。You can create clusters for Service Fabric in many environments, including Azure or on premises, on Windows Server or Linux. 甚至可以在其他公有云上创建群集。You can even create clusters on other public clouds. Service Fabric SDK 中的开发环境与生产环境完全相同,都不涉及模拟器。The development environment in the Service Fabric SDK is identical to the production environment, with no emulators involved. 也就是说,在本地开发群集上运行的内容是部署到其他环境的群集上的内容。In other words, what runs on your local development cluster is what deploys to your clusters in other environments.

对于 Windows 开发,Service Fabric .NET SDK 已与 Visual Studio 和 PowerShell 集成。For Windows development, the Service Fabric .NET SDK is integrated with Visual Studio and PowerShell. 对于 Linux 开发,Service Fabric Java SDK 已与 Eclipse 集成,并且 Yeoman 被用来为 Java、.NET Core 和容器应用程序生成模板。For Linux development, the Service Fabric Java SDK is integrated with Eclipse, and Yeoman is used to generate templates for Java, .NET Core, and container applications.

合规性Compliance

Azure Service Fabric 资源提供程序在所有 Azure 区域中都可用,并符合所有 Azure 合规性认证,这包括:SOC、ISO、PCI DSS、HIPAA 和 GDPR。Azure Service Fabric Resource Provider is available in all Azure regions and is compliant with all Azure compliance certifications, including: SOC, ISO, PCI DSS, HIPAA, and GDPR. 有关完整列表,请参阅 Microsoft 合规性产品For a complete list, see Microsoft Compliance Offerings.

后续步骤Next steps

在 Azure Service Fabric 上创建并部署你的第一个应用程序:Create and deploy your first application on Azure Service Fabric: