azure 支持 mongodb 和 redis 等吗?

发布于 2024-11-03 04:54:37 字数 124 浏览 1 评论 0 原文

您可以将 mongodb 和 redis/memcached 与 azure 一起使用吗?

我猜不会,但只是想确定一下。

事实证明他们确实支持 .net 以外的东西,那么他们使用 Linux 服务器吗?

Can you use mongodb and redis/memcached with azure?

I'm guessing no but just want to make sure.

It turns out they do support things other than .net, are they using linux servers then?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(6

命比纸薄 2024-11-10 04:54:37

您可以非常轻松地在 Windows Azure 中运行 mongodb。我在 MongoSV - 视频此处介绍了这一点。

编辑:2011 年 12 月,10gen 在 github。其中包含一个副本集项目,以及一个使用副本集进行存储的演示 ASP.NET MVC 应用程序(取自 Windows Azure 平台培训工具包)。

独立服务器很简单,除非您有处理横向扩展:您不能同时拥有一台独立服务器的多个实例,因此您需要为此做好计划:从负载均衡器中取出除一个之外的所有实例,或者仅在可以获得云的情况下启动 mongod驱动锁。

复制集是可行的,正如我在 MongoSV 中演示的那样。但是,我没有介绍优雅关闭副本集以确保零数据丢失的复杂性。

您也可以运行 memcached - 请参阅 David Aiken 的 帖子 关于这个。注意:既然 AppFabric 缓存服务已上线,您应该了解使用该服务而不是 memcached 的优缺点。从成本角度来看,AppFabric 缓存的运行量应该少得多,因为您无需为托管缓存的角色实例付费。有关 AppFabric 缓存的详细信息

You can very easily run mongodb in Windows Azure. I presented this at MongoSV - video here.

EDIT: In December 2011, 10gen published their official MongoDB+Azure code on github. This contains a project for replica-sets, as well as a demo ASP.NET MVC application (taken from the Windows Azure Platform Training Kit) that uses a replica set for its storage.

Standalone servers are straightforward, except you have to deal with scale-out: you can't have multiple instances of a standalone server simultaneously, so you'll need to plan for this: take all but one out of the load balancer, or only launch mongod if you can acquire the Cloud Drive lock.

Replicasets are doable, as I demonstrated at MongoSV. However, I didn't cover the intricacies of graceful shutdown of a replicaset to ensure zero data loss.

You can run memcached as well - see David Aiken's post about this. Note: Now that the AppFabric Cache service is live, you should look into the pros/cons of using that over memcached. Cost-wise, AppFabric Cache should run much less, as you don't have to pay for role instances to host your cache. More info about AppFabric Cache here.

糖果控 2024-11-10 04:54:37

您现在还可以选择 在 Linux 虚拟机上的 Windows Azure 中运行 Redis !对于 Redis,这将允许您使用“官方”构建而不是“不受支持的”Windows 构建...对于 MongoDB,这两种选择似乎同样有效(在 Linux 虚拟机、“普通”Windows 虚拟机上运行,或使用 10gen 的软件包在“托管”VM(云服务)上运行。

You now also have the option of running Redis in Windows Azure on Linux virtual machines ! In the case of Redis, this would allow you to use the "official" build instead of the "unsupported" Windows build ... For MongoDB, both choices seem equally valid (running on Linux virtual machines, "plain" Windows virtual machines, or using 10gen's package to run on "managed" VMs (Cloud Services).

十六岁半 2024-11-10 04:54:37

仅供参考,现在 MS Open Tech(我的团队)提供了适用于 Windows Azure 的 Redis 安装程序。以下是有关如何使用它的教程:http://ossonazure.interoperabilitybridges.com/articles/how-to-deploy-redis-to-windows-azure-using-the-command-line-tool

FYI, there's now a Redis installer for Windows Azure available from MS Open Tech (my team). Here's a tutorial on how to use it: http://ossonazure.interoperabilitybridges.com/articles/how-to-deploy-redis-to-windows-azure-using-the-command-line-tool

新雨望断虹 2024-11-10 04:54:37

在 Azure 商店中,您现在可以选择 Redis Cloud 作为附加组件。

Azure 存储描述如下:

“Redis 云是一项完全托管的云服务,用于以高可用性和可扩展的方式托管和运行 Redis,并具有可预测且稳定的顶级性能。告诉我们您需要多少内存,然后立即开始使用您的新的 Redis 数据库。”
发布日期 2014 年 3 月 31 日

您可以通过选择 Azure 门户中的“新建”按钮,然后选择“商店”来访问商店。我还没有使用过它,但看起来很有希望。

In the Azure Store you can now select Redis Cloud as an add-on.

Heres the Azure store description:

"Redis Cloud is a fully-managed cloud service for hosting and running Redis in a highly-available and scalable manner, with predictable and stable top performance. Tell us how much memory you need and get started instantly with your new Redis database."
PUBLISHED DATE 3/31/2014

You can access the store by selecting the "New" button in the Azure portal then "Store". I have yet to use it but it looks promising.

强辩 2024-11-10 04:54:37

Azure 现在有第一方 Redis 服务,目前处于预览阶段:

http://azure.microsoft.com/en-us/documentation/articles/cache-dotnet-how-to-use-azure-redis-cache/

Azure now has a first-party Redis service, currently in preview:

http://azure.microsoft.com/en-us/documentation/articles/cache-dotnet-how-to-use-azure-redis-cache/

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文