ticoombs

joined 1 year ago
 

Highly relevant to us (as admins)

 

Recently I've taken the docker compose example from SChernykh and have started a p2pool for Reddthat!

https://github.com/SChernykh/p2pool/tree/master/docker-compose (many thanks here!). After some minor changes I removed the IP listing from statistics and increase the visibility to 100 "supporters". It's viewable at donate.reddthat.com. (if @[email protected] wants the code change I can provide diff)

The idea was to also allow people to donate to instances via CPU instead of actual $.

My question for the community is whether I am creating a centralised pool or am I still participating in a decentralized fashion?

[–] [email protected] 2 points 3 months ago

2nd best reporting in.

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

The script will be useless to you, besides for referencing what to do.

Export, remove pg15, install pg16, import. I think you can streamline with both installed at once as they correctly version. You could also use the in place upgrade. Aptly named: pg_upgradeclusters

But updating to 0.19.4, you do not need to go to pg16... but... you should, because of the benefits!

[–] [email protected] 0 points 3 months ago (1 children)

Congratulations! 👏 Happy B-day and here's to many more to my across the river friends 🎉

Ps. The video works and is great!

[–] [email protected] 0 points 4 months ago* (last edited 4 months ago) (2 children)

~~The downvotes you can see (on this post) are from accounts on your instance then. As this post is semi inflammatory it is highly likely to have garnered some downvotes.~~

Edit: I guess I was wrong regarding the logic of how downvotes work when we block them.

[–] [email protected] 0 points 6 months ago

Since the 11th @ 9am UTC, LW has seen a 2 fold increase of activities. If my insider knowledge is right (and math) it's 7req/s average up from 3req/s.

Lucky for both of us we are not subbed to every community on LW but I think we are subbed just enough to be affected.

[–] [email protected] 0 points 6 months ago* (last edited 6 months ago) (2 children)

Relevant: https://reddthat.com/comment/8316861 tl;dr. The current centralisation results in a lemmy-verse theoretical maximum for of 1 activity per 0.3 seconds, or 200 activities per minute. As total transfer of packets is just under 0.3 seconds between EU -> AU and back.

Edit: can't math when sleepy

[–] [email protected] 0 points 6 months ago (1 children)

Should be already fixed. I've logged out and in on Jerboa.

[–] [email protected] 0 points 6 months ago* (last edited 6 months ago) (3 children)

We rebuilt the Lemmy container with an extra logging patch. Seems build docs need some work? as that's the only difference in the past 1-2 days, except for moving to postgres 16...

Thanks for the ping.

I've gone back to mainline Lemmy. @[email protected] check now please

[–] [email protected] 0 points 7 months ago

Bah! I totally forgot that they have the new "efficiency" cores...

Performance Cores: 6 Cores, 12 Threads, 2.5 GHz Base, 4.8 GHz Turbo
Efficient Cores: 8 Cores, 8 Threads, 1.8 GHz Base, 3.5 GHz Turbo

Hmmm, I'd still say its totally worth it because the 12500 only has 6 core (12 threads) total. You are getting 8 extra core/threads.

Linux/docker/anyOS will make use of 8 extra cores regardless of the workload. Sure they might not be as performent on the lower end but a process running 12 threads vs a process running 20 threads will always be more performant.

[–] [email protected] 0 points 7 months ago (5 children)

I'm always look at ongoing costs rather than upfront and mostly thats the TDP, which is exactly the same. So I would agree with your sentiment. The major cost is performing it.

Single thread has a small increase 5% or so, but you have double the amount of threads. So your two dozen (24) docker containers could have a thread per container! Thid could benefit you a lot if you were running anywhere near 100% or have long running multithread jobs.

If I had the disposable money and I thought I could sell the 12th gen CPU then maybe. But i'm still rocking some old E3-12xx v3 Xeons which probably costs me more per year than what you will pay to upgrade!

[–] [email protected] 4 points 1 year ago
 

I'm always in Relaxed Mode

 

cross-posted from: https://reddthat.com/post/19103

So you want to know how we host lemmy?

I bought a server for 12 months, cloned this repository, edited the smtp details, modified the host vars, and ran the deploy!

The lemmy stack uses nginx, docker, and certbot. Inside docker it runs, lemmy, lemmy-ui, pictrs, postgresql, and postfix.

For our CDN we are using the "dreaded" cloudflare for caching. Here's a pretty picture of our analytics for the past 7 days (the whole life time of reddthat.com):
Screenshot of cloudflare analytics Incase you hate me for using cloudflare, don't worry I don't like using it either, but it's free for the time being. We are planning to move to BunnyCDN once we become funded. We've enabled Strict SSL to ensure all communications are secure. We also allow Tor users to access the site, and have our cloudflare "security" setting to minimal.

We are using UptimeRobot for our status page; status.reddthat.com.

Emails are hosted via my Mailcow instance.

The git repo linked here has been forked to a git repo and I'll be looking at making some changes in the coming days. Mainly to add the nginx configuration to be part of the code as well. It will then be completely under code, not just partly under code as it is now.
This is a gitea instance utilising gitea_runners, so once I get that done, I'll be creating gitea actions for:

  • Adding renovate to automatically check for new versions of the docker files and notify of passing tests
  • Once the PR is merged, automatically deploy it.

& that's about it.

Tiff

view more: next ›