Submitted by tgething (not verified) on Mon, 04/03/2013 - 17:11.
Leigh - nobody else replied so I will. As far as I know there are no published 'for size x business you need ...' specifications.
I suspect that a good rule is to buy as much as you can afford and understand that there really is a difference between server grade hardware and commodity PCs. We have recently purchased a Dell T620 with hot-swap disks, fans and power supplies and a really neat remote control facility called iDRAC.
Submitted by bencharlton (not verified) on Wed, 06/03/2013 - 16:31.
Dont skimp on memory...java likes memory ....for a 32bit system you need the max...4gb. memory I have found is the one of the limiting speed factors for 32bit systems.
for anything else ie 64bit its going to depend on number of concurrent users, and other applications or server roles.
As Ben mentions the primary concern is memory, both for the java (Tomcat) and for Mysql.
For Tomcat(java) I typically set it up to 1G of Ram with Perm gen set to 256M. I suggest regular tomcat restarts as there is an issue with memory creep which will effect perfromance if Tomcat is not restarted regularly (weekly typically whcih I do via a scheduled task).
For Mysql the key is buffer allocation which can be set in the mysql configuration file. The bigger the database the more Ram you should allocate to buffers. I typcially allocated 1.5G initially but depending on your database size you may increase this over time. We have some 20+G databases which have 8G of buffer allocated.
From a CPU perspective I find Java and Mysql are pretty lean but a single Quad core allocated to Tomcat and Mysql works well even for large numbers of users (50+). If your server is running other services such as Remote Desktops etc then you need to review this.
Disk size and type is again determined by database size, other uses , and performance (SAS vs SATA etc). I like to specify high speed SAS drives for the data drives but in a <15 usesr system not really an issue as long as memory allocatd to buffers is sufficient.
Re: Server Specs
Leigh - nobody else replied so I will. As far as I know there are no published 'for size x business you need ...' specifications.
I suspect that a good rule is to buy as much as you can afford and understand that there really is a difference between server grade hardware and commodity PCs. We have recently purchased a Dell T620 with hot-swap disks, fans and power supplies and a really neat remote control facility called iDRAC.
Regards, Tim G
Re: Server Specs
Dont skimp on memory...java likes memory ....for a 32bit system you need the max...4gb. memory I have found is the one of the limiting speed factors for 32bit systems.
for anything else ie 64bit its going to depend on number of concurrent users, and other applications or server roles.
Re: Server Specs
Hi Leigh,
As Ben mentions the primary concern is memory, both for the java (Tomcat) and for Mysql.
For Tomcat(java) I typically set it up to 1G of Ram with Perm gen set to 256M. I suggest regular tomcat restarts as there is an issue with memory creep which will effect perfromance if Tomcat is not restarted regularly (weekly typically whcih I do via a scheduled task).
For Mysql the key is buffer allocation which can be set in the mysql configuration file. The bigger the database the more Ram you should allocate to buffers. I typcially allocated 1.5G initially but depending on your database size you may increase this over time. We have some 20+G databases which have 8G of buffer allocated.
From a CPU perspective I find Java and Mysql are pretty lean but a single Quad core allocated to Tomcat and Mysql works well even for large numbers of users (50+). If your server is running other services such as Remote Desktops etc then you need to review this.
Disk size and type is again determined by database size, other uses , and performance (SAS vs SATA etc). I like to specify high speed SAS drives for the data drives but in a <15 usesr system not really an issue as long as memory allocatd to buffers is sufficient.
Hope this helps.
Cheers Tony