Please can anyone help, I know nothing about Tomcat but our company needs to buy a server to run it can anyone tell me what sort of spec the server needs to be? and also whether it is memory or processor intensive. Thanks
If its light to moderate usage, no more then a request or so a second, any standard new PC will do fine.
If you traffic requirements are more then that you are beyond 'what type of server do I buy' and into 'what sort of architecture do I need to put in place'.
Going on the basis that you have 50 concurrent users accessing TIFF data, I would say you would need at least :
2-4 Gb RAM
3.0GHz processer
You will also probably need a cluster of 2 or 3 machines - depends on the sizes of the TIFFs and the way you are loading them.
I would also change Tomcat's startup JVM to be allocated as much RAM as possible.
"50 total users accessing all day" - does that mean 50 users all accessing the site all the time, all day (ie the maximum load will be 50 concurrent users) or does it mean there are 50 users that access the site in total, but the convurrent user load will be 5 to 10 ?
Basically - how many users will be accessing the site at any one time (ie concurrent maximum number).
If you cannot be precise - then we cannot give you a precise answer !
In that case, I would say that you will probably need a cluster of two machines, which have a spec of 2.5-2 GHz and at least 2 Gb of RAM (for downloading all those tiff files).
I think you are overestimating ITOps10. This is ok but you will spend a lot more then you need.
Another way to approach it is to buy a nice midrange machine and go live. See how it works. You cna always add another, tougher machine as a clustered solution and this way you are not buying hardware you do not require.
My experience is that people tend to dramatically over state their requirements.
For example, if you are just displaying TIFF data then the size of your server is not critical since its a static file. If you are dynamically GENERATING TIFF data on the fly that is much more intensive.
Your looking for a simple answer to a complex question so my advice is 'go midrange with a 3GHz, 2GB RAM P4 system and grow into it.'
I have a similar question. My webapp will have about 100-200 total users uploading/downloading pdf files (3-5 mb each). Im expecting each user to upload 2-3 files a month and download 3-5 files each month.
Webapp runs in tomcat with mysql for user management on debian.
What do you think the specs for the machine shuold be?
What do you think the specs should be if number of users increases to 400-500?
Well, again, like the original poster, you do not tell us how many CONCURRENT users you need to cater for. You could have 500 million billion users, but if they only downloaded one pdf once a year, then that is different to having 20 users downloading a pdf every minute.
So, once again - how many CONCURRENT users are you expecting ?!
Well, if 10 users download a 3Mb pdf all at the same time, you'll need around 30 Mb of RAM just for the file operations. So a machine with 256Mb of RAM will be quite sufficient I would have thought. DOn't forget to alter Tomcat's startup/catalina script to initialize the JVM with more RAM than the default (which is only 16Mb).
CPU wise, I'd say you would get away with a 1 GHz machine, but 2Ghz would be safer.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.