1

I'm going through the list of perf improvements that can be made against Cosmos DB. My APIs are hosted in a Function app in consumption mode. Is turning on gcServer recommended for Azure Functions?

There is more information on gcServer here.

For single-processor computers, the default workstation garbage collection should be the fastest option. Either workstation or server can be used for two-processor computers. Server garbage collection should be the fastest option for more than two processors. Most commonly, multiprocessor server systems disable server GC and use workstation GC instead when many instances of a server app run on the same machine.

How many processors run in an active instance in a consumption plan?

user246392
  • 2,661
  • 11
  • 54
  • 96

1 Answers1

0

How many processors run in an active instance in a consumption plan?

Each instance of the Functions host in the Consumption plan is limited to 1.5 GB of memory and one CPU. So there is only 1 processor for that. For more details, you can refer to this article.

Ivan Glasenberg
  • 29,865
  • 2
  • 44
  • 60