Azure 上的多个工作进程

发布于 2024-08-01 23:16:04 字数 97 浏览 1 评论 0原文

Azure 上是否可以有多个工作进程,或者我是否需要为每个进程创建一个单独的线程才能获得该行为?

如果 Azure 目前不支持此功能,将来是否有计划添加此功能?

Is it possible to have multiple worker processes on Azure or do I need to create a separate thread for each to get that behavior?

If Azure currently does not support this, are there plans to add this in the future?

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

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

发布评论

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

评论(2

°如果伤别离去 2024-08-08 23:16:04

让我们在这里澄清一下:有角色,也有角色实例。 我相信 Zippy 指出,在 CTP 期间,每个角色最多可以有两个实例。 但是,您最多可以扮演五个不同的角色。 (这是从 7 月 CTP 开始的更改。)请参阅 Jim Nakashima 关于多个 Web 和辅助角色的博客文章:http://blogs.msdn.com/jnak/archive/2009/07/20/working-with-multiple-web- and-worker-roles.aspx

Let's clarify here: there are roles, and there are role instances. I believe Zippy's pointing out that during the CTP, you can have at most two INSTANCES of each role. However, you can have up to five different roles. (This is a change starting at the July CTP.) See Jim Nakashima's blog post on multiple web and worker roles: http://blogs.msdn.com/jnak/archive/2009/07/20/working-with-multiple-web-and-worker-roles.aspx.

晨光如昨 2024-08-08 23:16:04

Azure 允许您在测试期间拥有 2 个工作进程。 您可以在配置文件中指定金额。 当 Azure 成为付费服务时,如果您愿意付费,您可能可以设置更高的数字。

如果将相同的代码和配置部署到生产和登台环境,则最多可以获得 4 个进程。

Azure allows you to have 2 worker processes during the beta. You can specify the amount in the configuration file. When Azure becomes a paying service you will probably be able to set a higher number, if you are willing to pay for it.

If you deploy the same code and configuration to both the production and the staging environment you can get up to 4 processes.

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