- Joined
- Nov 14, 2012
A long time ago, when we were just moving onto our own hardware, I bought a server that'd carry us for like 3 years.
Farm 1
1 x Intel(R) Xeon(R) CPU E3-1230 V2 @ 3.30GHz (4 cores, 8 logical)
4 x Micron 8GB DDR3 1600MHz
The disks for this are unusual and not set up by me. This is a Software RAID that Facebook uses.
It is a 250GB SSD that fronts and caches for a 4TB HDD that mirrors onto another disk.
This computer worked for the entire stack for years. Currently, the DB is 1.7TB.
The main constraint on this was the RAM. The database consumes an absolutely enormous amount of RAM and this server barely contains it anymore.
After the hack, I rebuilt the frontend on a completely different server shared with a few other containers.
Farm 2
My other two servers are basically cheap hand me downs with completely random disks, none of them have any resilience what so ever, and important stuff (like KF) I back up to cloud very routinely.
1 x Intel(R) Xeon(R) CPU E3-1240 v3 @ 3.40GHz (4 cores, 8 logical)
2 x Super Talent 8GB DDR3 1333 MHz
Disks for this are all over the place. The main one to consider is a 128 GB LV for the PHP scripts (huge amount of overkill) and a 2 TB HDD for the static files. Just directly on the HD, no RAID. Things are backed up to cloud instead. There's about 1.3 TB of static content.
The main bottleneck is now the HDD as every single attachment on the site is on that. Even with the most aggressive Cloudflare CDN caching available to me, there's nothing more I can do to alleviate this. I can try setting up an nginx cache onto the SSD, but it's not going to be any faster than Cloudflare. There are too many files all over the place sporadically cached for NGINX to do anything Cloudflare is not already doing.
So my current goal now is to move the KF off the second device to a new one. We don't really cap on CPU but I don't want to touch this for a few years. I'm probably going to go for 32GB DDR4 because it's cheap and a 1 socket CPU with 8 physical cores at or above 3.4GHz, which will be a significant expense.
Further I don't really know much about RAID performance. I was thinking of doing 2 RAID10s but I don't think the SSDs the scripts reside on need a RAID10, maybe no RAID at all. Considering 256GB SSD RAID1 for scripts and something like a 2TB 10k HDD RAID10 for static files, giving 4TB in total. Maybe 4TB 10k HDD RAID10 if I really want to not have any money.
Hard cap I'm willing to spend is $5k.
Discuss.
Farm 1
1 x Intel(R) Xeon(R) CPU E3-1230 V2 @ 3.30GHz (4 cores, 8 logical)
4 x Micron 8GB DDR3 1600MHz
The disks for this are unusual and not set up by me. This is a Software RAID that Facebook uses.
It is a 250GB SSD that fronts and caches for a 4TB HDD that mirrors onto another disk.
This computer worked for the entire stack for years. Currently, the DB is 1.7TB.
The main constraint on this was the RAM. The database consumes an absolutely enormous amount of RAM and this server barely contains it anymore.
After the hack, I rebuilt the frontend on a completely different server shared with a few other containers.
Farm 2
My other two servers are basically cheap hand me downs with completely random disks, none of them have any resilience what so ever, and important stuff (like KF) I back up to cloud very routinely.
1 x Intel(R) Xeon(R) CPU E3-1240 v3 @ 3.40GHz (4 cores, 8 logical)
2 x Super Talent 8GB DDR3 1333 MHz
Disks for this are all over the place. The main one to consider is a 128 GB LV for the PHP scripts (huge amount of overkill) and a 2 TB HDD for the static files. Just directly on the HD, no RAID. Things are backed up to cloud instead. There's about 1.3 TB of static content.
The main bottleneck is now the HDD as every single attachment on the site is on that. Even with the most aggressive Cloudflare CDN caching available to me, there's nothing more I can do to alleviate this. I can try setting up an nginx cache onto the SSD, but it's not going to be any faster than Cloudflare. There are too many files all over the place sporadically cached for NGINX to do anything Cloudflare is not already doing.
So my current goal now is to move the KF off the second device to a new one. We don't really cap on CPU but I don't want to touch this for a few years. I'm probably going to go for 32GB DDR4 because it's cheap and a 1 socket CPU with 8 physical cores at or above 3.4GHz, which will be a significant expense.
Further I don't really know much about RAID performance. I was thinking of doing 2 RAID10s but I don't think the SSDs the scripts reside on need a RAID10, maybe no RAID at all. Considering 256GB SSD RAID1 for scripts and something like a 2TB 10k HDD RAID10 for static files, giving 4TB in total. Maybe 4TB 10k HDD RAID10 if I really want to not have any money.
Hard cap I'm willing to spend is $5k.
Discuss.