Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there any difference between "Platform 32-bit" or "Platform 64-bit" for Azure Functions?

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.

Platform 32-bit for default

I'm wondering with "What the difference with 32-bit or 64-bit for Azure Functions"?

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.

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

like image 837
guitarrapc Avatar asked Apr 15 '16 17:04

guitarrapc


People also ask

What is the difference between Web API and azure function?

Azure Functions are always static methodsActions of Web API, with the aid of using the way, don't have the static modifier. This outcome in a good-sized architectural extrude at some stage in the migration, specifically with dependency injection (DI).

Is Azure function a REST API?

Azure Functions provides writing functions in different programming languages, e.g., C#, Java, or python, and it supports Windows and Linux. There are endless scenarios für Azure functions, like running scheduled tasks, analyzing IoT data streams, or building a web (REST) API.


1 Answers

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.


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

like image 166
David Ebbo Avatar answered Oct 09 '22 14:10

David Ebbo