I'm not sure whether serverfault is the right place to ask this, but I wonder what choice you would make if you had to select a new CPU type for your Java Web Application:
a) a CPU with 32 cores and clock speed 2.5 Ghz
or
b) a CPU with 8 cores but clock speed of 3.8 Ghz
Given the fact that each of the web application's incoming HTTP request is served by a free Java thread, it might make sense to choose a), because you can process four time more HTTP requests at the same time. However, on the other hand, CPU b) can finish the processing of a single HTTP request much faster...
What do you think?
Sidenotes:
- it has to be a physical machine, VMs or cloud solutions are not an option in this case
- RAM is not important, the server will have 512GB of RAM in the end
- Caching: the Java web application features an extensive caching framework, so the choice is really on the CPUs.