this post was submitted on 22 Jul 2023
40 points (97.6% liked)

Selfhosted

37782 readers
361 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

I tried to delete and recreate the container, but there's still this insane power consumption.

For comparison, cloudflared doing a tunnel to hundreds of users takes 0.06% of CPU time on the same server

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 6 points 11 months ago (1 children)

Because that's a docker container on a "busy" server (mostly WordPress wasting cycles generating pages for some bots that really have to visit my blog over and over and over and over)

(Top from inside the container)

[–] [email protected] 2 points 11 months ago (1 children)

you might want to look into getting wordpress to generate static pages and only deliver the static html.

Overall using bloging tools that generate static pages is better than constantly requesting DB and dynamically compiling each page every time there is a request

[–] [email protected] 1 points 11 months ago

Yeah it's a long time that I wanted to migrate to Hugo

The main issue is that a decade ago or so, I hosted a vibrant forum with the stupidest platform ever, bbpress. So my WordPress has something like 30k pages...