我该选择哪一个:带有工作线程的 Web 角色,还是带有 HWC 的工作角色?

发布于 2024-09-24 08:23:18 字数 479 浏览 0 评论 0原文

我想将Azure Web Role和Worker Role的特性和功能合二为一。我这样做的主要原因是因为我只需要每个角色中的一个,但 SLA 迫使我为每个角色获取两个实例。

由于 4 * 0.12 美元/小时超出了我想要自付费用的金额,因此我想将用途合并到两个高度可用的角色中。

我需要考虑哪些因素,以及如何决定使用 具有辅助线程的 Web 角色 与具有 HWC

I want to combine the features and function of the Azure Web Role and Worker Role into one. My driving reason for this is because I only need one of each, but the SLA is forcing me to get two instances of each role.

Since 4 * $0.12 / hour is more than what I want to spend out of pocket, I want to combine purposes into two highly available roles.

What factors do I need to take into account, and how would I decide between using a Web Role with Worker Threads versus a Worker Role with HWC?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(1

谈下烟灰 2024-10-01 08:23:18

请参阅我对该线程的回复...我将使用 Web 角色并将代码放入 WebRole.cs 中,就像在 WorkerRole.cs 中一样。

See my reply on that thread... I'd use a web role and just put code in WebRole.cs like you would in WorkerRole.cs.

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