this post was submitted on 26 Apr 2026
310 points (97.3% liked)

Technology

84103 readers
2542 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related news or articles.
  3. Be excellent to each other!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
  9. Check for duplicates before posting, duplicates may be removed
  10. Accounts 7 days and younger will have their posts automatically removed.

Approved Bots


founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] greybeard@feddit.online 9 points 6 hours ago (2 children)

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.

[–] W98BSoD@lemmy.dbzer0.com 1 points 44 minutes ago

… 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.

[–] wltr@discuss.tchncs.de 1 points 57 minutes ago (1 children)

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.

[–] greybeard@feddit.online 1 points 32 minutes ago

The low powered server is the Caddy server, all it does us act as a reverse proxy for everything in my house, giving it an SSL cert and doing things like WOL. The caddy config basically just says "Here's your reverse proxy target, if you don't get a response within one second, send a WOL packet, wait a couple of seconds, then try again".

The only requirement is for you to do a custom build of caddy (this is done with a dockerfile), and to have WOL enabled on the high power server.

It means the first web request for services on the high power server might take a few seconds, but everything after that is smooth.