I have an ESXi (v4.1 U2) box with 16GB RAM and 8 CPU cores available.
The full stack will incorporate 2 CentOS 6 instances:
1) DB Server
MySQL
2) Web server
Apache httpd load balancer
2X Jetty App. Servers (Scalatra + Scalate + ScalaQuery)
Jedis cache
Resource-wise I should be fine, but am wondering what impact/benefit there is in going 64-bit with this setup? Apache will utilize Google mod_pagespeed with in-memory cache; Jedis is obviously in-memory as well.
I'm looking for max performance.
There's no good reason to use a 32-bit OS for new deployments on modern hardware. You want to be able to address and utilize the resources available to you. Even if you deem that 32-bit is sufficient, 64-bit will be more future-proof. Finally, there's no easy move from 32-bit to 64-bit without a system reinstallation. From an administrative perspective, that's the biggest reason to use 64-bit.