this post was submitted on 13 Jun 2023
121 points (97.6% liked)

Selfhosted

40347 readers
397 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
 

Is there any benefit to host my own instance?

top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 27 points 1 year ago (30 children)

I think it's a matter of personal preference.

I've been running my own Mastodon instance for several months now, and I've enjoyed it. I don't have to rely on someone else, either, which is nice. I'm in control of everything on that instance.

As for Lemmy, I just started my own instance today, and am currently writing you from it. What made me decide to setup my own instance was some performance issues I was seeing with Lemmy.world, although that might have been an UI problem. Anyway, I enjoy doing this stuff, so I'm running my own instance for the sake of doing it.

On the flip side, it's more expensive and time consuming, and I'm the one who has to worry about backing up data, etc. Like I said, though, I enjoy doing it, so it's no big deal.

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

I run my own Mastodon instance, but for Lemmy it seemed more logical to join an existing instance that aligned with my interests. I wouldn't be adverse to abandoning my self-hosted Mastodon for a shared instance, but I would prefer a small instance run by and for people I know, rather than one of the huge ones.

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

What might make you want to ditch your self-hosted Mastodon instance?

With Lemmy, I didn't feel a need to pick any specific instance because I can follow communities from anywhere, and it seems to work pretty well.

One downside I've encountered with my own Lemmy instance is that post and comment history in the communities I follow begins when I started following them on my new instance. New posts and comments are federated my way, going forward, but I don't have the ability to go back and view as much history as one would on lemmy.world or lemmy.ml, for example.

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

I have experienced the same with mastodon and pixelfed.

load more comments (2 replies)
load more comments (2 replies)
[–] [email protected] 4 points 1 year ago (5 children)

As someone who likes having control over their data and especially backups, and someone who normally enjoys self-hosting things, I honestly might do it. I'm not sure if I'd want to host a lemmy instance or kbin instance though, since I know they all federate together anyway. I may also end up waiting until the software is more mature too before looking into it.

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

That's awesome! Running my own social media instances has become a hobby for me.

Having my own Lemmy instance has felt fairly seamless versus using Lemmy.world, but there have been some kinks. For example, when attempting to subscribe to a new community, the server has to pull a bunch of data first. This takes several seconds, but the UI simply says "not found" -- and then after several seconds, the UI updates with the community you want to follow. I figured this out by tailing the logs.

Also, the installation was pretty damn easy, especially when compared to Mastodon.

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

I'd maybe be interested in trying out self-hosting Mastodon at some point too, good to hear that Lemmy was easy to install though. I'm not too worried since I have quite a bit of Linux experience, I figure it probably won't be too bad to setup whatever social media instances I'm interested in checking out.

load more comments (8 replies)
[–] [email protected] 4 points 1 year ago (1 children)

Personally, I went with Lemmy because it seems to be quite a bit further along in it's development. It also doesn't look like kbin's developer is recruiting much outside help, if you look at the repos of the two projects on GitHub/Codeberg, Lemmy has tons of contributions from people while kbin is mostly just the one guy with a few commits here and there. Not to mention that Lemmy's way less of a resource hog because it's written in Rust whereas kbin is implemented in PHP. Also, as far as I know federation is still currently broken on kbin.

load more comments (1 replies)
load more comments (3 replies)
[–] [email protected] 4 points 1 year ago (1 children)

On the flip side, it's more expensive

Can you go into more detail on this?

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

Sure.

I run my own instance at a cloud provider, and thus have monthly expenses I wouldn't normally incur, if I were using a public instance.

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

The fun part is that you can run it on the same server as your mastodon is already running with no additional costs.

load more comments (1 replies)
load more comments (5 replies)
load more comments (27 replies)
[–] [email protected] 24 points 1 year ago (3 children)

I feel that speed is the biggest benefit. I was on kbin.social and in the beginning everything was fine, but after a while when they got more and more users it was terrible. Every second click led me to cloudflare sometimes even with the capcha.

On my own instance now since yesterday everything is so fast! I chose lemmy because it's written in Rust and I have the feeling that it will be more resourceful and with less bugs than /kbin because of that ^^

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

Yeah, I'm running on an instance of just me and my wife, biggest downside is needing to subscribe to communities before we get content, but its sooo much faster.

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

I almost think this is a blessing because you don't get so overwhelmed with stuff you don't care about and only see what you're looking for. But yes the UI for it is not very good yet.

load more comments (1 replies)
load more comments (1 replies)
load more comments (2 replies)
[–] [email protected] 17 points 1 year ago (3 children)

I run my own instance, the benefit is privacy and reliability. Everything is controlled on your own server. You also aren’t reliant on someone else running an instance that could go down at any time, either permanently or an outage. Been a problem with Lemmy.ml recently.

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

You also aren’t reliant on someone else running an instance that could go down at any time, either permanently or an outage.

You have to worry about it yourself though.

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

A balancing act for sure. I’m torn on the topic. With some much excitement right now but so little history there’s a lot of uncertainty where to “plant your flag”. Part of me wants to setup my own instance simply so I maintain control of my identity should .world suddenly disappear. On the other hand now I have the responsibility of making sure I don’t make myself disappear. The mental debate will continue.

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

I think for now it's so early it doesn't matter all that much. Just have fun! You can make multiple accounts so why not

load more comments (1 replies)
[–] [email protected] 4 points 1 year ago (2 children)

I was asking myself a question, if you comment like you did here Is it saved in the server on which the original post is, or is it saved on your server?

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

Kind of both. His server has a mirror of the community. When he comments it gets saved on his server and the his server communicates with the original server. In turn the original server also communicates his comment with other federated servers.

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

If data is migrated from server to server, as the community grows in size, the data to be maintained on each server also grows in size? Also i've seen some servers allow the creation of new users/communities, but some don't... whats the point of that if the data is just replicated anyway?

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

Yes that's right, an instance is constantly accumulating data over time, however instances that aren't the origin instance have the option of going back and deleting old posts (manually in the DB) but then their users wouldn't be able to see them anymore. I do get the concern though, if things really start to pickup and we get insane volume, I'm afraid even my instance wouldn't be able to pick up. I'd have to unsubscribe from everything. On the other hand, I think people will come up with solutions as things scale. There's a lot of unknowns right now, too many to build a solution. Just take a look at mastodon and how its model has changed over time.

load more comments (1 replies)
load more comments (1 replies)
[–] [email protected] 4 points 1 year ago (3 children)

How is your RAM/storage usage? I'm interested in setting up my own instance (no communities, just a username that will always be here) but don't want to upgrade my VPS again. I already had to do that spinning up a Mastodon server.

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

My raspberry pi 4 is using 810mb of RAM and 11gb of file system space.

load more comments (2 replies)
[–] [email protected] 3 points 1 year ago (5 children)

I’m up to about 300MB of disk usage after a day of hosting my own. Curious to see how it grows.

load more comments (5 replies)
load more comments (1 replies)
[–] [email protected] 16 points 1 year ago (2 children)

I was discussing this with other lemmings on matrix and it seems there is not much help if you dont have a community to build on your own instance. Now if you do host for yourself then you can federate with other instances to subscribe and pull from their communities which does reduce the total load on those services but that is about it.

Communities are going to Win/Loose based on personalities and critical mass, and the people hosting those communities will just have to increase their hosting needs.

load more comments (2 replies)
[–] [email protected] 16 points 1 year ago (2 children)

Running my own instance using AWS's free tier for now, though I think I'll keep it after. It makes scaling soo easy and simple if my instance ever takes off. Which I don't know if it ever will lol. The reason why I even created one is to actually use my domain name for something rather than keep paying for a domain that I'll never use for anything.

load more comments (2 replies)
[–] [email protected] 12 points 1 year ago* (last edited 1 year ago) (3 children)

I did. The benefits as I see them:

  • I can still use Lemmy if the instance I would have used as my "home instance" ever went down.
  • Even if a public instance doesn't go down, all this extra load is making strange bugs surface that I don't encounter (I still have the live refresh bug everyone has, but not this one).
  • I have full control over my account.
  • If I ever want to get to customizing my UI later, I can.
  • Content I create originates on my instance, and I have full control over it. I can't stop other instances from caching what I post publicly, but this still gives me more data governance.
  • I can curate my "All" tab to only show stuff I actually want to see, instead of trying to figure out how to block communities (not sure if that's possible for regular users).
  • I get a custom domain which I think is pretty neat.
load more comments (3 replies)
[–] [email protected] 9 points 1 year ago (1 children)

If you host your own, do you need to establish federation with all other instances or only with the ones you want to use communities from?

If I only federate with lemmy.world, would I be able to see comments on /c/[email protected] on my instance made by a user from lemmy.ml?

Would a user that reads /c/[email protected] on lemmy.ml see my comments, if I only federate with lemmy.world?

[–] [email protected] 6 points 1 year ago
  • only the ones that host communities you subscribe to, in fact you can specifically whitelist certain instances
  • yes, comments and posts made from other instances are forwarded on to subscribers
  • yes, for the same reason
[–] [email protected] 8 points 1 year ago* (last edited 1 year ago) (2 children)

From what I've seen and read, server to server traffic is less taxing on instances than client to server. So even if your instance is JUST you, it would be your instance talking to everything else so it would have some net benefit on the federation. But it would take a lot of users self-hosting solo instances for this to help in any noticeable way, I'd think.

There is certainly no downside to running a solo instance, if you're even slightly interested I would say go for it!

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

It's only less taxing if it's multiple ppl on an instance.

If every solo user spun up an instance just for themselves there wouldn't be a benefit over all those users just signing up directly to an existing instance.

Eg 5 users on instance b trying to access instance a Is better then 5 users each with their own instance trying to access instance a.

load more comments (3 replies)
[–] [email protected] 4 points 1 year ago

I would doubt this. Your server is essentially another client

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

I'm selfhosting Lemmy and its SUPER fast. Just think of it more of a personal caching layer than anything else.

load more comments (2 replies)
[–] [email protected] 6 points 1 year ago (2 children)

I've been looking to do the same for the many pros I've seen posted here, but maybe someone can give me some clarity on a very big downside to me.

From my understanding most instances are pretty liberal with federating anyone, then blacklisting bad actots or problematic instances. However as adoption grows is there not the potential for larger instances to move towards a whitelist, and possibly move towards only federating with known, established instances or ones with established conditions? Possibly flat out banning personal instances due to moderation overhead?

Perhaps my understanding is incorrect, but seems to me that there could be a big future risk your personal server turns into an island and all of your past engagement is no longer in your control.

load more comments (2 replies)
[–] [email protected] 4 points 1 year ago (5 children)

I did it. So far I've noticed a few things, for example you have to populate/federate the communities yourself, and it can take a long time. It took hours to retrieve and catch up all the lemmy.world posts. I expect it to be an ongoing thing. When you first connect to a community, it downloads the first 20 posts, but all the comments are empty.

The plus side though is it is very fast for me. And nobody can delete my profile.

load more comments (5 replies)
[–] [email protected] 4 points 1 year ago* (last edited 1 year ago)

less thing to worries like you dont need an email to use it from single user instance, lemmy now dont have 2nd authentication like totp at the moment and may it have risk to get pawned and leak your email address so yeah it is to run your own single user instance

load more comments
view more: next ›