我应该选择哪一个 - Windows Azure 或 Amazon EC2 - 来托管非托管 C++代码?
我们有一个完全用非托管 Visual C++ 编写的服务器解决方案。它包含用于真正繁重的数据处理的复杂方法。
整个事情包含数百万行代码,因此用其他语言重写它并不是一个选择。我们可以编写一些额外的代码或进行单独的更改,但重写所有内容是不可能的。
现在我们想把它放在云端。我们选择哪个平台 - Amazon EC2 还是 Windows Azure - 为什么?
We have a server solution written entirely in unmanaged Visual C++. It contains complicated methods for really heavy data processing.
The whole thing contains millions lines of code, so rewritning it all in some other language is not an option. We could write some extra code or make isolated changes, but rewriting everything is out of the question.
Now we'd like to put it on a cloud. Which platform do we choose - Amazon EC2 or Windows Azure - and why?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
是否需要盒子的管理权限(例如写入注册表、更改盒子配置、安装组件等)?如果是这样,您现在将无法使用 Windows Azure。
如果它不需要管理员权限,那么您需要考虑的其他事情是:
希望这能为您提供更多数据点来帮助您做出决定。
Does it require Administrative rights on the box (e.g. writing to registry, changing box configuration, installing components, etc)? If it does, you can't use Windows Azure today.
If it doesn't require admin privileges then the other things you need to think about are:
That would hopefully give you some more datapoints to help you make a decision.
这很大程度上取决于您如何考虑成本、平台的未来价值等……Azure 仍处于早期阶段。现在肯定有更多的人使用 EC2。考虑到您的估计使用情况,我建议您将计算两个平台之间的成本作为起点。您想使用一个平台比另一个平台拥有的功能吗?您的应用程序在两个平台之间的基准测试如何?您想利用现货定价吗?
无论哪种情况,我都建议添加一个薄薄的垫片层,以将您从您选择的任何一个中抽象出来,并允许您在将来需要时移动。
这就像 Windows 与 Linux 的比较一样……没有普遍的正确答案,只有意见。
That depends largely on how you think about costs, future value of the platforms, etc... Azure is still in its very early stages. There are definitely more people using EC2 today. I would recommend computing the costs between the two platforms as a starting point given your estimated usage. Do you want to use features that one platform has over the other? How does your app benchmark between the two platforms? Do you want to take advantage of spot pricing?
In either case I would recommend adding a thin shim layer to abstract you from whichever you choose and enable you to move in the future if you need to.
This is like windows vs. linux....there are no universal right answers, only opinions.