azure 是否支持 mongodb 和 redis 之类的东西? [英] Does azure support things like mongodb and redis?

查看:34
本文介绍了azure 是否支持 mongodb 和 redis 之类的东西?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

azure 可以使用 mongodb 和 redis/memcached 吗?

Can you use mongodb and redis/memcached with azure?

我猜不是,只是想确定一下.

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

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

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

推荐答案

您可以非常轻松地在 Windows Azure 中运行 mongodb.我在 MongoSV 上展示了这个 - 视频这里.

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

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

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.

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

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.

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

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.

您也可以运行 memcached - 请参阅 David Aiken 的 帖子 关于这个.注意:现在 AppFabric Cache 服务已上线,您应该研究使用它而不是 memcached 的利弊.在成本方面,AppFabric Cache 的运行次数应该少得多,因为您无需为托管缓存的角色实例付费.有关 AppFabric 缓存的更多信息 这里.

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.

这篇关于azure 是否支持 mongodb 和 redis 之类的东西?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆