by deadbeeves · 3y ago · 0 comments
Because 1) you still need a second machine to wait for incoming requests, 2) in a server there's no general way to check if the server is serving requests or not. Plex happened to provide an API that specifically does what you needed, but you had to resort to a bit of a hack for Time Machine. This is unlike a desktop context, where you can check if the user has moved the mouse or pressed a key in the last N minutes. And 3) because the delay of waiting for the server to wake back up is undesirable.
>Seriously, there is soooo much potential to save energy in IT.
I don't think so. For VPS instances it doesn't matter, and for internal servers it's almost certainly more efficient to virtualize a bunch of services onto a single box, if there's multiple servers idle most of the time.
Maybe he has different ideas, and that's perfectly fine, but personally I value reliability and uptime far more than 2 cents.
EDIT: I failed at math. See below comments. :V
3360 is the number of hours in 140 days.
Still, my point remains unchanged: I, at least, value reliability and uptime more than ~43 euro cents.
Actually, at 150 / year you can rent a VPS (or two!) as well, always-on etc, which... kinda shows how skewed consumer price for electricity is.
There’s a lot of work with ARM lately, I’m curious if that could be used in server workloads like this.
Possibly, but few cloud providers actually do live migration[0] since it's risky to pause a VM for typically less than 1 second, but up to 5 seconds.
0: https://cloud.google.com/compute/docs/instances/live-migrati...
EDIT: btw, this solves "if Time Machine starts a backup" completely.
I have a Plex box that turns on after work.
Synology DS413 and DS213+ does this automatically. What second machine?