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

问题描述

您可以使用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 psented该p $ - 视频。

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

修改:2011年12月,10gen的发表了他们的官方的MongoDB +天青code上的。这包含副本集使用一个副本的贮存项目设置,以及一个演示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.

Replicasets是可行的,因为我在MongoSV证明。不过,我并没有覆盖replicaset的正常关闭的复杂性,以确保零数据丢失。

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,以及 - 看到大卫·艾肯的这个。注意:既然AppFabric的缓存服务是活的,你应该考虑使用过的memcached的优点/缺点。成本方面,AppFabric的缓存应该运行要少得多,因为你不必支付角色实例来承载您的缓存。有关AppFabric的缓存here.

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的?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-07 02:43