Elektrine lite

← Feed

@greybeard@feddit.online

2026-04-26 12:41 UTC

A trick I realized a few years ago: Caddy has a module you can build it with that does WOL. So I was able to run a Caddy reverse proxy that woke up my higher powered server on demand, and let it go back to sleep when I wasn't using it. Might be a bad idea for a database sever, but for my uses it was pretty simple and effective.

Replies (2)

  • @W98BSoD@lemmy.dbzer0.com 2026-04-26 18:30

    >… that woke up my higher powered server on demand, and let it go back to sleep when I wasn't using it. Get a load of this guy not using his high powered server 24/7/365.

    Open ##1871923

  • @wltr@discuss.tchncs.de 2026-04-26 18:17

    Oh wow, that’s really cool! I do use Caddy too. Is it that your service/website is on both (low powered server and high powered one) or is it only on the high powered? So, it’s like - the lower powered server knows it needs help (sounds a bit surreal to me, but perhaps it’s doable) - or the lower powered server does not serve anything, but wakes up the high powered when the thing is accessed? I guess that’s the 2nd thing, but it’s very cool indeed! That way you can really have very convenient things for free, as it’s super cheap to run any hardware for a very while on demand. I don’t mind waiting a minute or even two when I need to access something very infrequently and don’t want to run my server 24/7. I do exactly that, but I wake up it via LAN manually.

    Open ##1871924