比較 Windows Server 和 Linux 上的 Azure 和獨立 Service Fabric 叢集Comparing Azure and standalone Service Fabric clusters on Windows Server and Linux

Service Fabric 叢集是一組由網路連接的虛擬或實體機器,可用來將您的微服務部署到其中並進行管理。A Service Fabric cluster is a network-connected set of virtual or physical machines into which your microservices are deployed and managed. 隸屬於叢集的機器或 VM 稱為叢集模式。A machine or VM that is part of a cluster is called a cluster node. 叢集可擴充至數千個節點。Clusters can scale to thousands of nodes. 若您新增節點至叢集,則 Service Fabric 會重新平衡全體增加節點數的服務資料分割複本和執行個體。If you add new nodes to the cluster, Service Fabric rebalances the service partition replicas and instances across the increased number of nodes. 整體應用程式效能會有所改善,改善,並減少爭用記憶體的存取權。Overall application performance improves and contention for access to memory decreases. 若未有效率地使用叢集中的節點,您可減少叢集中的節點數目。If the nodes in the cluster are not being used efficiently, you can decrease the number of nodes in the cluster. Service Fabric 會再次重新平衡全體減少節點數的資料分割複本和執行個體,以善加使用每個節點上的硬體。Service Fabric again rebalances the partition replicas and instances across the decreased number of nodes to make better use of the hardware on each node.

Service Fabric 可讓您在執行 Windows Server 或 Linux 的任何 VM 或電腦上建立 Service Fabric 叢集。Service Fabric allows for the creation of Service Fabric clusters on any VMs or computers running Windows Server or Linux. 這表示在任何環境中,只要有一組互連式 Windows Server 或 Linux 電腦,不論是在內部部署、Microsoft Azure 或透過任何雲端提供者,您都能夠部署和執行 Service Fabric 應用程式。This means you are able to deploy and run Service Fabric applications in any environment where you have a set of Windows Server or Linux computers that are interconnected, be it on-premises, Microsoft Azure, or with any cloud provider.

Azure 上的叢集具備的優點Benefits of clusters on Azure

在 Azure 中,我們與其他的 Azure 功能和服務整合,因此能輕鬆可靠地操作與管理叢集。On Azure, we provide integration with other Azure features and services, which makes operations and management of the cluster easier and more reliable.

  • Azure 入口網站: Azure 入口網站能輕鬆建立和管理叢集。Azure portal: Azure portal makes it easy to create and manage clusters.
  • Azure Resource Manager: 使用 Azure Resource Manager 可輕鬆管理叢集作為單位使用的所有資源,並簡化成本追蹤與付費作業。Azure Resource Manager: Use of Azure Resource Manager allows easy management of all resources used by the cluster as a unit and simplifies cost tracking and billing.
  • Service Fabric 叢集做為 Azure 資源 Service Fabric 叢集是 Azure 資源,因此可以像 Azure 中的其他資源進行模型化。Service Fabric Cluster as an Azure Resource A Service Fabric cluster is an Azure resource, so you can model it like you do other resources in Azure.
  • 與 Azure 基礎結構整合 Service Fabric 會協調作業系統的 Azure 基礎結構、網路和其他升級,以改善應用程式的可用性和可靠性。Integration with Azure Infrastructure Service Fabric coordinates with the underlying Azure infrastructure for OS, network, and other upgrades to improve availability and reliability of your applications.
  • 診斷: 在 Azure 中,我們提供與 Azure 診斷整合部署與 Azure 監視器記錄。Diagnostics: On Azure, we provide integration with Azure diagnostics and Azure Monitor logs.
  • 自動調整: 對於 Azure 上的叢集,我們會提供虛擬機器調整集產生的內建自動調整功能。Auto-scaling: For clusters on Azure, we provide built-in auto-scaling functionality due to Virtual Machine scale-sets. 在內部部署與其他雲端環境中,您必須建置您自己的自動調整規模功能,或使用 Service Fabric 針對調整叢集規模顯示的 API 來手動調整規模。In on-premises and other cloud environments, you have to build your own auto-scaling feature or scale manually using the APIs that Service Fabric exposes for scaling clusters.

獨立叢集具備的優點Benefits of standalone clusters

  • 您可以自由選擇任何雲端提供者來裝載您的叢集。You are free to choose any cloud provider to host your cluster.
  • Service Fabric 應用程式一旦撰寫完成,只需進行最低限度的變更或不需任何變更,即可在多個裝載環境中執行。Service Fabric applications, once written, can be run in multiple hosting environments with minimal to no changes.
  • 建置 Service Fabric 應用程式的知識可以從一個裝載環境轉移到其他裝載環境。Knowledge of building Service Fabric applications carries over from one hosting environment to another.
  • 執行和管理 Service Fabric 叢集的操作經驗可以從一個環境轉移到其他環境。Operational experience of running and managing Service Fabric clusters carries over from one environment to another.
  • 不受裝載環境條件約束束縛的廣大客戶群。Broad customer reach is unbounded by hosting environment constraints.
  • 有一層額外的可靠性和保護可防止發生廣泛的中斷狀況,因為您可以在資料中心或雲端提供發生中斷時,將服務移到另一個部署環境。An extra layer of reliability and protection against widespread outages exists because you can move the services over to another deployment environment if a data center or cloud provider has a blackout.

後續步驟Next steps