Greetings!
I’d like to build an apache web server, running on debian lenny.
It will primarily be used for hosting a web-shop, so it should have some light db i/o and lots of image serving (item previews/thumbs/etc…).
It’s tough to put a finger on the exact number of concurrent requests that I’ll get hit with, but I’d say that a non-professional setup should be enough to handle them.
By non-professional I mean that I don’t need to invest into purchasing blades, a rack or something of the like. Just regular desktop PC tweaked for web server performance.
Which exposes my current problem: I have no idea whatsoever what kind of a machine I should be looking for.
If I’d like to build a gaming rig, no problem – there are at least a million sites out there with performance benches, from bleeding edge graphic card reviews to flat panel LCD contrast/response time charts. But when it comes to trying to find reccomendations for a web server based build, I’m having a hard time finding a good RECENT review.
So, at least I’ve managed to gather this so far – these are the priorities I should be attending to:
1) Lots of memory (preferably fast) 2) A pair of fast HDDs 3) As many cores as I can get 4) As fast processor as I can get 5) A MB with good I/O
So, memory and HDDs aren’t that big of a deal, you can’t go wrong here (I guess). With the RAM prices these days, it’s pretty affordable to pump 8+ Gb into a machine.
The only question here is, would it be worth it to buy a tiny (<=32 Gb) SSD and place all my web stuff and OS onto it. My entire web server is just a couple of megs in size + the database will fit really neatly onto it with space to boot.
As for the graphics card, I’ll just plug in any old PCI Ex card I can whip up, and the same goes for any peripherals. I don’t need a display of any kind – I’ll be logging in remotely for most of the time.
OK – and now for the most important question: Which Proc and MB to buy. As far as I’ve gathered – it would be better to have 10 cores running at 100 Mhz each than only one running at 2 Ghz, taking the nature of the machine into consideration.
So I’ll most likely have to get a quad core, right? The question is which… :/
For there are several affordable… My budget is around US $800. This is, again, for just the proc, the MB, and the memory. I have the HDDs. If I take a small SSD, add $100 to that budget.
AMD Phenom or Intel Core 2? Which MB to go with it? I’m totally lost here.
If this will start an AMD vs. Intel flame war, I’m truly sorry, for this is not my intention – but if you could at least point me to a good recent review for a web server build I would ge grateful.
On the one hand you say you don’t need that much performance but on the another you are talking about adding as many cores as you can. A quad core CPU of either AMD or Intel will be more than sufficient. It gets into the category of ‘religious war’ but i prefer the Intel chips; I usually buy Xeon processors. As far as SSD, I wouldn’t bother. Look into a good RAID setup with a 3Ware controller; either RAID 1+0 or RAID 5 (obviously, there will be a religious anti-RAID5 crowd, though I prefer it .. at least until RAID 6 is more widespread). As much memory as you can afford is ideal, although anything more than 8 is probably overkill from what you have said. Probably the main departure from what you have already listed is that I wouldn’t even bother with the SSD. Depending on your usage patterns, you may actually hurt performance with it and any benefits for your use cases would not be worth the costs. Wait for the research to catch up for SSD to really be beneficial in terms of performance. 🙂
If this is a business server, I recommend buying one pre-configured from IBM, Dell, or whatever major manufactuer is your preference (I prefer IBM).