4 ms·
What would be the first thing you do? All that adds up...
by aik 17y ago
What would be the first thing you do? All that adds up...
- slig 17y agofirst thing to do, IMO: Add more RAM
- cjbos 17y agoI usually find my apps are CPU bound rather than memory intensive, so it pays to test this out. Easy way to find out is to run apache bench locally and watch the server performance (Use perfmon on windows, not sure what the linux/unix alternative is). Its a crude performance metric but will point you in the right direction as to what you want to upgrade first, you can validate your findings with a more complex tool like Webload/JMeter/Wcat if you want to make sure.
- njharman 17y agoDepends on your app, but... Split static content serving from dynamic. Can start off on same server but requirements for each are so different it pays to have tuned processes serving each. Build customized, svelt apache or use nginx. Get separate DB server, get lots mem for DB server, tune DB to use that memory. Few/None are setup up out of box to use 4-8GB+ well. Get more mem for http box(es), use memcache/similar to take advantage of that memory.