什么是 Windows Fabric 以及如何在其中托管服务?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/15606078/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
What is Windows Fabric and how to host services in it?
提问by Cos
I recently installed Windows Server Service Bus 1.0 (on a Windows Server 2008 R2 machine).
我最近安装了 Windows Server Service Bus 1.0(在 Windows Server 2008 R2 机器上)。
That also installs "Windows Fabric" (not AppFabric).
这也会安装“Windows Fabric”(不是 AppFabric)。
Could not find much information on it, and googleing it I stumbled on a Lync server post (Windows Fabric is also installed by Lync Server 2013).
找不到关于它的太多信息,在 google 上我偶然发现了 Lync 服务器帖子(Lync Server 2013 也安装了 Windows Fabric)。
Definition:
定义:
"Windows Fabric is a Microsoft technology used for creating highly reliable, distributable, and scalable applications."
“Windows Fabric 是一种 Microsoft 技术,用于创建高度可靠、可分发和可扩展的应用程序。”
From the Service Bus architecture intro,it looks like Fabric is what allows for services replication, high availabilty, and fault tolerance.
从服务总线架构介绍来看,看起来 Fabric 是允许服务复制、高可用性和容错的原因。
Anyone knows if that can be used to host custom .NET services? Or any kind of direction would be greatly appreciated.
任何人都知道这是否可用于托管自定义 .NET 服务?或者任何类型的方向将不胜感激。
Thanks in advance.
提前致谢。
Cos
余弦
采纳答案by Alexey
I don't actually think that Windows Fabric is open product. It is used for infrastructure purposes, and not for deploying custom services. For your custom services you have to use platform built on top of Windows Fabric, like Service Bus, Windows Server App Fabric. I think Windows Fabric is for internal use by Windows Azure and Private Cloud for clustering, load balancing and so on.
我实际上并不认为 Windows Fabric 是开放产品。它用于基础设施目的,而不是用于部署自定义服务。对于您的自定义服务,您必须使用构建在 Windows Fabric 之上的平台,例如 Service Bus、Windows Server App Fabric。我认为 Windows Fabric 供 Windows Azure 和私有云内部使用,用于集群、负载平衡等。
UPDATE:I've started developing Windows Azure application and here is what I've found. I've added a Service role to Azure application and started it on local development machine (under Azure emulator). And my service was published in and started under Windows Fabric!
更新:我已经开始开发 Windows Azure 应用程序,这是我发现的。我已经向 Azure 应用程序添加了一个服务角色,并在本地开发机器上(在 Azure 模拟器下)启动了它。我的服务是在 Windows Fabric 中发布和启动的!
So the conclusion is: Windows Fabric is a platform for running YOUR Cloud Services.
所以结论是:Windows Fabric 是一个运行您的云服务的平台。
回答by daustinash
I went to a talk by Mark Eisenberg on May 28th at the Microsoft NERD Center near MIT in Boston MA. The talk was mostly about the Azure Service Fabric. General consensus was that if you're using Azure from the infrastructure as a service perspective you aren't really using it.
5 月 28 日,我在马萨诸塞州波士顿麻省理工学院附近的 Microsoft NERD 中心参加了 Mark Eisenberg 的演讲。演讲主要是关于 Azure Service Fabric。普遍的共识是,如果您从基础结构即服务的角度使用 Azure,那么您并没有真正使用它。
The next step up is to use Azure naively as a platform meaning that rather than create VMs and hosting them there you're creating cloud services and web jobs and web apps and using the new Logic Api's etc...
下一步是将 Azure 天真地用作平台,这意味着与其创建 VM 并将它们托管在那里,不如创建云服务、Web 作业和 Web 应用程序,并使用新的 Logic Api 等......
But if you really want to build a stateful, resilient service enterprise class you'll want to go underneath the PaaS and write against the Service Fabric directly for greater control.
但是,如果您真的想要构建一个有状态的、有弹性的服务企业类,您将需要在 PaaS 之下并直接针对 Service Fabric 进行编写以获得更好的控制。
That's where the money is.
这就是钱的所在。
I did a write up on the talk and what the Azure Service Fabric is a few days ago and posted it here.
回答by kevin mitnick
Fabric which the name suggests in itself, is back-end. It is no different than iSCSI or EIGRP. The main difference is that it is generic in form rather than specific like the aforementioned services/protocols.
顾名思义,Fabric 是后端。它与 iSCSI 或 EIGRP 没有什么不同。主要区别在于它在形式上是通用的,而不是像上述服务/协议那样具体。
IIS is a server service specific to web hosting. SQL the same but database only..
IIS 是特定于 Web 托管的服务器服务。SQL相同,但仅限数据库..
fabric, applied to host fabric aware services and software.
结构,应用于主机结构感知服务和软件。
回答by Thomas
Windows Fabric is used internal by Microsoft to building highly available, resilient and scalable services. It has been used for Service Bus, SQL Database, Document DB etc. according to this video: Building Resilient, Scalable Services with Microsoft Azure Service Fabric
Microsoft 在内部使用 Windows Fabric 来构建高度可用、弹性和可扩展的服务。根据此视频,它已用于服务总线、SQL 数据库、文档 DB 等:使用 Microsoft Azure Service Fabric 构建弹性、可扩展的服务
Until now it has not been available for external parties but has now been announced as Service Fabric which will be available on Windows Azure and Window Server 2016.
到目前为止,它尚未可供外部各方使用,但现已宣布为 Service Fabric,可在 Windows Azure 和 Window Server 2016 上使用。
Read more here: http://azure.microsoft.com/en-us/campaigns/service-fabric/
在此处阅读更多信息:http: //azure.microsoft.com/en-us/campaigns/service-fabric/