我应该选择哪一个 - Windows Azure 或 Amazon EC2 - 来托管非托管 C++代码?

发布于 2024-09-03 21:17:06 字数 202 浏览 5 评论 0原文

我们有一个完全用非托管 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 技术交流群。

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

发布评论

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

评论(2

水溶 2024-09-10 21:17:06

是否需要盒子的管理权限(例如写入注册表、更改盒子配置、安装组件等)?如果是这样,您现在将无法使用 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:

  • What is the architecture? How does it interact with the world? Files? databases?
  • What dependencies you have?
  • What is the usage pattern (burst? continuous?)
  • What would be the cost based on usage and the pricing of both offerings?

That would hopefully give you some more datapoints to help you make a decision.

梦初启 2024-09-10 21:17:06

这很大程度上取决于您如何考虑成本、平台的未来价值等……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.

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