New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
How do I know how much power I need?
Hi there
My friend has a streaming platform of a sort. The videos won't be served directly from the main server - meaning that other providers will be providing video links i.e. embeds etc. It's like a social media platform but the videos are hosted off-site just embedded in.
Just wondering what type of power he would need to be able to run such a site which currently gets 20,000 unique visitors per month, currently it's running on a:
AMD Ryzen 7 3700X @ 3 vCores @ 3.60+ GHz
6 GB DDR4 ECC RAM
84 GB NVMe Storage
Unmetered Bandwidth @ 1 Gbit/s (shared)
1 IPv4 Address
NGINX, PHP
Which runs decently well. I was wondering if he could potentially downgrade further and still be able to handle more visitors near the future? What do you guys suggest?
Comments
What is the current average server load?
RAM: 371M/5.82G
Load average: 0.03 0.03 0.00
Tasks: 34, 63 thr; 1 running
I don't completely understand the description of what the server is doing but that load suggests it's not intensive in the slightest. Simply serving static files doesn't tend to use much cpu power at all unless you get a ridiculous amount of active visitors.
Assuming the load isn't going to spike a huge amount sometimes (Few minutes of 20x load on a busy day for example) I think it would be perfectly fine to downscale cpu and memory resources a fair amount.
That doesn't say much - most of the memory will likely be cache that can be freed as soon as something else needs it. The fuill output of
free -m
(assuming Linux) would be more useful.That suggests it is barely doing anything right now, and has barely done anything over the last 15 minutes. As close to nothing as makes no odds in fact. But obviously that won't always be the case - you need to look at the load during busy times. If not done already, install some load monitoring tool to log CPU, RAM, IO, and network load, over time. That will help find your peak times and the requirements during those times.
Yes, basically running an SPA. Just worried about visitors coming at once. Not sure how it works and how much load it would have on the server. Is there any way to figure that out?
Dont fix something that aint broken! However, you can probably scale this down to even 1 core cpu and like 2gb of ram. I like to start there with providers who allow me to upgrade on the fly later, and upgrade if you feel the webpage is getting slow. Cloudflare could also take alot of the load of the server.
Thanks a lot, I think I'll give the 2G package a shot