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?