如何做Windows Azure平台规模为我的应用程序? [英] how does windows azure platform scale for my app?

查看:131
本文介绍了如何做Windows Azure平台规模为我的应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

只是一个关于Azure的问题。

Just a question about Azure.

是的,我大致了解Azure和云计算的认识。我会把它是这样的:

Yes, I know roughly about Azure and cloud computing. I will put it in this way:

说,在正常的方式,我建立一个程序监听TCP端口。我运行在服务器该服务器程序。我也建一个客户端程序,它通过指定的端口连接到服务器。一旦一个客户端连接,我的服务器程序会计算一些东西,并返回给客户端。

say, in normal way, I build a program listening to a TCP port. I run this server program in a server. I also build a client program, which connects to the server through specified port. Once a client is connected, my server program will compute some thing and return to the client.

以上是正常的模型,或者说我的程序的模型。

Above is the normal model, or say my program's model.

现在我要使用Azure上。我想用,因为我的客户太多,假设每天100万。我不想租1000台服务器和维护。 (只是对于客户端的数目的假设)

Now I want to use Azure. I want to use because my clients are too many, let's say 1 million a day. I don't want to rent 1000 servers and maintain them. ( just a assumption for the number of clients)

我已经看过了Azure的定价计划。它说的CPU和大约小,中间大的实例说话。

I have looked at the Azure pricing plan. It say about CPU and talks about small, median, large instances.

我不知道他们的意思。对于例如,在我上面的假设情况下,有多少实例,我需要?或至多我可以从蔚蓝的特大型得到(8个小实例吗?)

I don't know what they mean. for e.g., in my above assumed case, how many instances do I need? or at most I can get from azure for extra large (8 small instances?)

如何Azure扩展我的程序?如果让我选择的小实例(我的服务器程序非常少,只是计算一些数据并返回到客户端),将Azure扩展适合我?或天青只是给了我一个美德的服务器,让它超载?

How does Azure scale for my program? If I choose small instance (my server program is very little, just compute some data and return to clients), will Azure scale for me? or Azure just gives me one virture server and let it overload?

请只考虑CPU,存储没有或网络流量。

Please consider the CPU only, not storage or network traffic.

推荐答案

您选择了两件事:跑什么尺寸的虚拟机(小,中,大)以及有多少虚拟机来运行的。这意味着你可以选择一个小的虚拟机(单处理器)上运行100的它(100 VM)的实例,或者你可以选择一个大的虚拟机(在同一服务器上八个处理器),并运行它的10个实例(10个虚拟机)

You choose two things: what size of VM to run (small, medium, large) and how many of those VMs to run. That means you could choose a small VM (single processor) and run 100 "instances" of it (100 VMs), or you could choose a large VM (eight processors on the same server) and run 10 instances of it (10 VMs).

今天,Windows Azure中不会自动调整你的规模,所以它是由你来使用Web门户或服务管理API增加实例数为您的需求增加。

Today, Windows Azure doesn't automatically adjust your scale, so it's up to you to use the web portal or the Service Management API to increase the number of instances as your need increases.

这篇关于如何做Windows Azure平台规模为我的应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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