Hello habravchane.
A couple of months ago, the moment came when one of my portals — the Tatar dating site stopped bearing the load in the evenings and stupidly fell. Online reached up to 1,800 users with attendance of over 50 thousand per day (> 20 thousand unique visitors). The portal was located on one dedicated server. During the analysis, it was found out that not only the processor, but also the entire disk subsystem, did not cope. It was necessary to decide what to do next.
For the coming year, at least a 1.5-fold increase in registered users and a corresponding increase in attendance and workload were planned. At the moment, the database was about 15 GB in size.
The portal was written on ASP.NET in conjunction with MS SQL Server 2008 R2 DBMS.
The current server had the following configuration: processor - Intel Core Quad 9550 (12MB cache), 4 GB of memory, 2 disks - WD server with 7200 revolutions.
')
The disk subsystem problem was solved simply by buying a 90 gigabyte SSD disk and placing photos on it, at the moment there are about 40 gigabytes (I can write a separate post about the experience of using SSD disks on servers).
The second problem related to the processor could be solved by transferring the database to an additional server. Since the budget was quite limited (about $ 2500), I decided that it was more profitable not to buy, but to assemble the server myself. It was necessary to squeeze as much power as possible for this money, while maintaining sufficient reliability.
Having a certain experience in both configuring and building servers, I decided to stop at a 2-processor server with 4 fast disks.
server platform (the cheapest with support for 4 hot-swap drives and 2 processors):
Tyan GT20B7002 - 1 pieces ~ $ 700,
processors (under 1366 socket):
Intel "Xeon E5620" - 2 pieces ~ $ 760 ($ 380 per piece)
hard drives (the SAS budget was not allowed to take, SSD did not dare to use the database on the server):
WD "VelociRaptor WD1500HLFS" - 4 pieces ~ $ 480 ($ 120 per piece),
memory:
2 GB ECC Kingston - 8 pcs ~ $ 540
Next, a photo report about the assembly and then a few tests:

Processors, memory, disks

Everything is ready for assembly


It remains to install the disks and run.
After the build, I tested a server for several days under load, checked the disks and merged them 2 into software RAID 1. The first raid on the system and logs, and the second on the data. Why not immediately in hardware RAID 10 you ask? Yes, because I simply did not understand the BIOS of the motherboard of this platform. There, as it is not obvious this is done.
Installed MS SQL Server 2008R2 Standard. In addition, I posted a base (25 GB) of another project with a slightly lower attendance (10 thousand hosts, maximum 800 online). Here are graphs that reflect the peak hours (evening, 19-22 hours):


Notice here about 2500 users online (total number of registered approximately 170 thousand).
In conclusion, I want to note that I am very satisfied with the server, it met my expectations and reduced costs - I completely refused to rent servers. It will be necessary to slightly suboptimize the database itself, then, I think, such an architecture will withstand 10 thousand online with several hundred thousand registered users.
UPD: pictures stored in the file system.