Azure Service Fabric中可靠的Blob状态? [英] Reliable blob state in Azure Service Fabric?
问题描述
在Azure Service Fabric中是否存在建议使用blob作为可靠状态的方法?
Is there a recommended way work with blobs as reliable state in Azure Service Fabric?
我看到两个选择:
-
实施分块机制并将块存储在可靠的集合中.但是,此选项具有很大的开发/维护负担.
Implement a chunking mechanism and store chunks in a reliable collection. This option has a pretty heavy development/maintenance burden though.
在外部存储Blob(Azure Blob存储).但是,此选项将服务与Azure耦合.我们必须提供自己的抽象和实现,才能在本地群集中运行.
Store blobs externally (Azure Blob Storage). This option couples the service with Azure though. We would have to provide our own abstraction and implementation for running in an on-premises cluster.
也许有可靠的状态提供者/管理者已经以某种方式提供了Blob?
Maybe there is a reliable state provider/manager for blobs already available somehow?
推荐答案
这是目前您的两个最佳选择.今天没有内置的Blob状态提供程序或服务.如果确实将Blob存储在可靠的集合中,则建议分块以减少复制流量.您甚至可以考虑构建一个blob存储服务,该服务使用可靠的字典来存储块,为该服务部署多个分区以实现更好的分发,然后为其提供一个接收blob,块和分发的客户端.
Those are your two best options currently. There isn't a blob state provider or service built in today. If you do store blobs in reliable collections, I would recommend chunking to reduce replication traffic. You may even consider building a blob storage service that uses a reliable dictionary to store chunks, deploy the service with multiple partitions for better distribution, and then provide a client for it that takes a blob, chunks, and distributes.
这篇关于Azure Service Fabric中可靠的Blob状态?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!