this post was submitted on 04 Jul 2023
10 points (100.0% liked)

Asklemmy

43159 readers
1560 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy ๐Ÿ”

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_[email protected]~

founded 5 years ago
MODERATORS
 

And if that's possible, why are servers needed at all? Can't an app just create a server per user and run it on the users device?

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 8 points 1 year ago (1 children)

It is possible! But not so easy.

You need to build a "reputation" with other servers. If your server is online, then some instances lose messages or just plain fail to load your content. So, first off, you need to be online all the time.

And it takes a lot of bandwidth! Each message, like and post anyone makes on every instance might come from any other instance, so servers need to have enough bandwidth to talk to each other all day.

There's also the problem of storage. You don't only store your own content, but also a "cache" of other people's content, so you don't need to request it again every time.

There's even a need for energy. Your server might connect to a lot of other servers, so you might need to have a beefy cpu to process all of that (so no running on batteries)

What you describe exists, actually. It's called "peer to peer" (often called "p2p"). There are some p2p networks, like scutterbutt which runs on top of the "gossip" network.

They have their own problems, tho.

Federated networks, where you join a server and servers can talk to each other (instead of directly running on the users device) are a middle ground.

On a server only network, like reddit, means everything is controlled by one entity (reddit).

With a p2p network, you have the problems I've described before (and lots more)

And finally, a federated network like lemmy exists in between. You join a server, but are not limited to that server. If you don't like something in your server, you can join some other server or even mount your own, and still be part of the bigger network. With the rules you desire to follow!

[โ€“] [email protected] 2 points 1 year ago

Wow thanks, now I get it. Never realized what p2p really was before now too