How much LOCAL DISK is available to a single execution of an Azure Function.
According to this issue https://github.com/Azure/Azure-Functions/issues/179, the locations D:\local and the HOME environment variable should be writable.
I want to know how much space is available for each function to work with, or what the recommended strategy for using System.IO based file writes are for temporary files.
Azure how many functions in one function app? One Azure Function App can scales out to at max 200 instances as per Microsoft.
To limit the number of HTTP requests, the parameter Max Concurrent Requests have to be in the range from 1 to any number link, the default value for the Consumption plan is 100.
Azure Functions can only use 1.5GB RAM According to Microsoft, Azure Functions have a limit of one CPU and 1.5 GB of RAM per instance.
Just ran this code on my Function App:
foreach (DriveInfo drive in DriveInfo.GetDrives().Where(d => d.IsReady))
{
log.Info($"{drive.Name}: {drive.TotalFreeSpace / 1024 / 1024} MB");
}
and got
C:\: 457665 MB
D:\: 1511 MB
I guess no document will tell you the exact number, but you can use mine as estimate. I'm running on Consumption plan.
When you function app is in consumption plan, The data is d:\ comes from the file share of you associated Azure storage account. You can find the storage account information from the AzureWebJobsStorage
Application Settings under the Platform features tab in portal and the file share information is preset in WEBSITE_CONTENTSHARE
Application settings.
When your function app is on App Service plan it uses the default App Service Storage.
You can find the more information on Quota's and limitations at this link
From above documentation Consumption plan (Storage File Share) it is 5 TB and for App Service plan it depends on the plan under which your app is, but it ranges from 1-500 GB.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With