Azure-Samples / hello-spring-function-azure

Example "Hello, world" Spring Boot application that runs on Azure Functions
MIT License
68 stars 87 forks source link

Java azure function OS recommendation Linux vs Windows #30

Closed Vipin-Sharma closed 3 years ago

Vipin-Sharma commented 3 years ago

This issue is for the particular commit message in this repo.

Java 11 is the latest LTS so it expected to perform better as it has several improvements over Java 8. Can we say also Java azure functions perform better on Linux in comparison to Windows? that's the reason overall Linux + Java11 is the best combination for Java Azure functions.

This is a question, not a bug.

jdubois commented 3 years ago

Java 11 will indeed perform better than Java 8 in nearly every situation, and anyway it’s the current LTS so it’s you best choice. For Linux vs Windows, I can’t give you an official answer as it depends on many things, and both platforms are continuously improved. So on a personal point of view, at the current time, yes Linux works much better.