ShittyKopper

joined 1 year ago
MODERATOR OF
[–] [email protected] 24 points 1 year ago* (last edited 1 year ago) (14 children)

Microservices aren't a silver bullet. There's likely quite a lot that can be done until we need to split some parts out, and once that happens I expect that federation would be the thing to split out as that's one of the more "active" parts of the app compared to logins and whatnot.

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago)

Rootful Podman & podman-compose. Waiting on the version of Podman that supports passt to hit Debian Bookworm or backports to attempt rootless. Deployed with Ansible except a few manual parts like creating the Postgres databases themselves.

No auto updates or notifications so far, as there seems to be a couple incompatibility issues left with Watchtower & Podman. Although since I switched CrowdSec to monitor journald instead of the Podman socket I don't really have a reason to keep the daemon running, and I think that's for the best.

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

So when are we readying the Matrix homeservers?

...and getting Element to care about chat UX rather than throwing Matrix at any other problem they can think of (no we do not need a vr metaverse but FOSS)

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

aside from moderation stuff, smaller instances tend to be faster and, ironically, more reliable in the shorter term, as they're not constantly getting hugged to death

and in the long term while they may be more vulnerable to running out of cash and shutting down, they're less costly to maintain overall, so as long as people chip in that's not as big of a concern

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

Surprised you haven't listed [email protected] on memes. It's surprisingly active (if you're not used to it from Reddit already)

[–] [email protected] 4 points 1 year ago (1 children)

Not OP but I can answer with my own stats:

In just a week, With BTRFS compression (compress-force=zstd:3) & deduplication (via bees), media is at about 1GB (and I am subscribed to media-heavy communities like 196) and the postgres DB is at about 550MB (which is also currently shared with Matrix Dendrite)

At "idle" (as you can be while being connected to ActivityPub & Matrix), the immediate CPU and RAM usage breakdown per container is:

NAME        CPU %       MEM USAGE / LIMIT  MEM %       NET IO             BLOCK IO           PIDS        CPU TIME         AVG CPU %
pict-rs     0.20%       18.92MB / 4.005GB  0.47%       3.319GB / 1.105GB  17.58GB / 3.239GB  13          1h16m57.232828s  0.59%
crowdsec    1.39%       44.23MB / 4.005GB  1.10%       106.4MB / 23.46MB  25.53GB / 486.7MB  11          45m28.744419s    1.95%
caddy       0.63%       73.06MB / 4.005GB  1.82%       1.675GB / 1.977GB  3.322GB / 720MB    10          21m9.94572s      0.90%
dendrite    1.58%       197.7MB / 4.005GB  4.94%       912.8MB / 2.33GB   8.718GB / 4.761GB  12          53m26.302022s    1.43%
postgres    5.33%       82.51MB / 4.005GB  2.06%       56.22GB / 7.961GB  20.92GB / 295.7GB  23          8h20m28.078567s  2.86%
lemmy-ui    0.00%       48.71MB / 4.005GB  1.22%       3.491GB / 5.961GB  3.603GB / 5.267GB  12          31m35.884936s    0.24%
lemmy-be    2.82%       29.01MB / 4.005GB  0.72%       16.45GB / 57.85GB  7.966GB / 6.439GB  6           3h6m34.633508s   1.42%

Net IO you shouldn't really care about as that includes inter-container networking. I'm trying to find how much outgoing data have been transferred but because the month just ended I have no idea how accurate the numbers are.

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

Perhaps they're not trying to "be successful"?

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

Depending on how well you know your way around, my recommendation is to not use the Ansible setup but instead treat it as documentation while doing things your way. It has quite a bit of strange stuff going on (postfix? two nginx installs with only one being in a container?) and seems to be missing important things such as SSH hardening. It also assumes it'll be the only thing running in your server just in general (horrible yet common practice, unfortunately) so if you have anything set up it may or may not clobber over it to do things it's own way, and end up breaking something.

Also, can you log in to wefwef through your instance, or how do you access everything, specifically on mobile?

I haven't tried wefwef in particular but all native apps I tried work just fine. An issue I can see cropping up from wefwef is that Lemmy's CORS policies are way too restrictive by default. No idea if they do any kind of proxying to get around that but that would be the main issue I'd imagine.

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

There are many guides on getting started with Linux servers as a whole. I recommend installing Debian Bookworm on a virtual machine or a spare laptop at first and going through the writeups all major cloud providers have, just to get a feel for using the terminal & initial setup (SSH hardening and reverse proxy configuration and so on)

After getting an initial feel for Linux admining, start reading up on Docker, Docker Compose, and containers in general. Avoid Podman until you're experienced with Docker as it's just different enough to trip you up. You can also check out LXC/LXD although it's way less popular.

Be careful of guides that are old (even a year makes a difference) or for different "distros" than the one you have. An exception for the second case is the Arch Linux wiki, which is one of the best resources just in general, aside from a few Arch specific bits like the exact package names to install. You should also use Arch's "man pages" reference, as they're built from the latest versions of packages compared to other man page renderers that are frequently outdated (like die.net)

Lemmy itself is harder to get right because the instructions so far are intended for people who kinda know what they're doing, but once you have the base Linux admin knowledge, it won't be that hard to pick up the parts necessary to get working with something like Lemmy.

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

I don't think it was as intentional a thing. but rather just ended up happening as a side effect of both using activitypub

[–] [email protected] 26 points 1 year ago* (last edited 1 year ago) (5 children)

The instance I'm replying from is a 5 eur/mo box from Hetzner.

Your main concerns are gonna be active user count & storage space. Especially if you decide to allow image or god forbid video uploads. Having a bunch of inactive users aren't going to affect costs that much as long as they don't have, like, a milion subscriptions. (If they're all subscribed to the same community things will "deduplicate")

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago)

It's also a free TLD. Or at least it was before Freenom kinda fucked up and stopped registering new domains.

I think lemmy.ml is actually paying to make sure they keep it but I dunno.

view more: ‹ prev next ›