“Platform 32-bit"和“Platform 32-bit"有什么区别吗?或“64 位平台"Azure 函数? [英] Is there any difference between "Platform 32-bit" or "Platform 64-bit" for Azure Functions?

查看:13
本文介绍了“Platform 32-bit"和“Platform 32-bit"有什么区别吗?或“64 位平台"Azure 函数?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我创建 Azure Functions 时,它将默认设置为32 位平台".但是我通常将 ASP.NET MVC、OWIN 或任何其他项目设置为 64 位.

When I create Azure Functions, it will set "Platform 32-bit" for default. However I normally set ASP.NET MVC, OWIN or any other projects as 64bit.

默认为 32 位平台

我想知道 Azure Functions 32 位或 64 位有什么区别"?

我猜这与 NuGet 包引用和内存分配有关.但是,由于 Azure Functions 最多只能分配 1536 MB,因此 32 位或 64 位根本没有影响.

I guess this effects with NuGet Package reference and Memory allocation. However as Azure Functions can only available to assign up to 1536 MB, therefore 32-bit or 64-bit would be no effects at all.

是否有任何明确的理由或建议设置 64 位?任何建议将不胜感激.

Is there any definite reason or recommendation to set 64-bit? Any advice will be very much appreciated.

推荐答案

我不建议将 Functions 工作进程切换到 64 位.它不会运行得更好,并且内存使用量最终会更高(因为它总是用于 64 位).另外,此时 Functions 仅在 32 位模式下进行了测试,因此您可能会在 64 位模式下遇到一些意想不到的问题.

I would not suggest switching the Functions worker process to 64 bit. It will not run any better, and the memory usage will end up being higher (as it always is for 64 bit). Also, at this point Functions has only been tested in 32 bit mode so you may run into some unexpected issues in 64 bit.

更新(2017 年 2 月 6 日):请参阅 this question 获取最新信息,以及 https://github.com/projectkudu/AzureFunctionsPortal/issues/894.

Update (2/6/2017): see this question for latest, as well as https://github.com/projectkudu/AzureFunctionsPortal/issues/894.

这篇关于“Platform 32-bit"和“Platform 32-bit"有什么区别吗?或“64 位平台"Azure 函数?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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