预留实例模式下用于 Azure 网站的新 Azure 分布式缓存

New Azure Distributed Cache for Azure Websites in Reserved Instance Mode(预留实例模式下用于 Azure 网站的新 Azure 分布式缓存)
本文介绍了预留实例模式下用于 Azure 网站的新 Azure 分布式缓存的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Windows Azure 的其他出色新功能(6 月 7 日宣布)中似乎缺少的东西是能够在预留实例模式下为网站集群的预留实例定义分布式缓存.

Something that seems to be absent from the otherwise great new features for Windows Azure (announced on June 7th), is the ability to define distributed caches for the reserved instances of a Website Cluster in Reserved Instance Mode.

到目前为止,似乎只能为独立的 webroles 或工作角色创建分布式缓存.有谁知道解决方法或知道这是否即将发生?

As of now it seems to be only possible to create distributed caches for standalone webroles or worker roles. Does anyone know a workaround or know if this is something that is coming?

我之所以问这个问题是因为它迫使我创建一个专门的工作角色来进行缓存,而且由于我受到成本的限制,我负担不起仅用于缓存的另外三个实例.这给我留下了一个不容错的缓存服务,而实际上我的三个托管网站的 Webroles 将是 a) 容错 b) 可以为分布式缓存提供足够的内存,这样我就可以在没有单点的情况下获得更大的缓存与单个缓存工作者角色一样失败.

The reason why I'm asking this is because it forces me to create a dedicated worker role for caching and since I'm contrained by costs I can't afford another three instances just for caching. This leaves me with a caching service that's not fault tolerant when in reality my three Webroles hosting the Websites would be a) fault tolerant and b) could contribute enough memory to the distributed cache that I'd gain a much larger cache without a single point of failure as with a single caching workerrole.

推荐答案

截至目前,Windows Azure 缓存(预览版)不支持此方案.感谢您的反馈.我会将此告知我们团队中的相关人员,以便在未来的版本中考虑相同的内容.

This scenario is not supported as of today by Windows Azure Caching (Preview). Thanks for the feedback. I will take this up to the appropriate folks in our team to consider the same for future releases.

正如 Jason 和 Win 所说,现在您可以使用 Windows Azure 共享缓存.虽然你说得对,它的大小是有限的,并且有一个配额系统.

As mentioned by Jason and Win, for now you can use Windows Azure Shared Caching. Though you are right that it is limited in Size and has a quota system.

这篇关于预留实例模式下用于 Azure 网站的新 Azure 分布式缓存的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!

本站部分内容来源互联网,如果有图片或者内容侵犯您的权益请联系我们删除!

相关文档推荐

DispatcherQueue null when trying to update Ui property in ViewModel(尝试更新ViewModel中的Ui属性时DispatcherQueue为空)
Drawing over all windows on multiple monitors(在多个监视器上绘制所有窗口)
Programmatically show the desktop(以编程方式显示桌面)
c# Generic Setlt;Tgt; implementation to access objects by type(按类型访问对象的C#泛型集实现)
InvalidOperationException When using Context Injection in ASP.Net Core(在ASP.NET核心中使用上下文注入时发生InvalidOperationException)
LINQ many-to-many relationship, how to write a correct WHERE clause?(LINQ多对多关系,如何写一个正确的WHERE子句?)