this post was submitted on 21 May 2024
63 points (95.7% liked)

Fediverse

28380 readers
1149 users here now

A community to talk about the Fediverse and all it's related services using ActivityPub (Mastodon, Lemmy, KBin, etc).

If you wanted to get help with moderating your own community then head over to [email protected]!

Rules

Learn more at these websites: Join The Fediverse Wiki, Fediverse.info, Wikipedia Page, The Federation Info (Stats), FediDB (Stats), Sub Rehab (Reddit Migration), Search Lemmy

founded 1 year ago
MODERATORS
top 43 comments
sorted by: hot top controversial new old
[–] [email protected] 44 points 5 months ago (3 children)

You start out by bemoaning the onboarding experience and then move on to portability and then speak up the idea servers should just be relays and browsers should be the new world order.

Yes, onboarding definitely needs to be improved.

Yes, portability can be improved. Lemmy falls short of Mastodon and not even Mastodon is perfect.

But, what mastodon does so is foster does do excellently is foster the idea that social media is a tool and that users shouldn't be overly attached. Also, perhaps if we learn to value servers, so not treat them as mere relays, perhaps we'll be able to teach value and independence.

The problem is, too many people keep trying to think, how can we make the Fediverse relevant in the modern world? And the better question is, how can we redefine the modern world? How can we normalize the idea of cooperative servers? Whether friends, towns, cities, etc. How can we make it so the people running the servers that host our communities are committed and engaged and not running them at a deficit? I would even go as far as to say that there should be government schemes to repurpose old computers into mini servers and that governments should give everyone a domain like NAME.TOWN.CITY and everyone can run a personal server and get used to it and then they can grow from there.

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

I agree with pretty much everything you've stated except for:

The problem is, too many people keep trying to think, how can we make the Fediverse relevant in the modern world?

I dont think this is a problem. The fediverse accomplishes exactly what it sought to do, a decentralized social network. This is uncharted territory and has been working out surprisingly well. I thought I would be off this 2 months after reddit killed 3rd party clients, but here I am!!

the minute we start to push growth at any cost is the minute the fediverse quality declines, in my opinion.

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

My idea is actually instead of marketing lemmy and mastodon, like "join Lemmy!" Or "Join Mastodon!" Market each individual instance separately.

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

After speaking with non-technical friends, I began to think how the key to marketing, onboarding, and growth will be to reduce the friction of the fediverse. The technical aspects of the fediverse (such as instances) and even the word "fediverse" itself should be behind a curtain.

Unfortunately, Lemmy's current default frontend does not do a good job at welcoming non-technical users (i.e. needing to find and select instances, fediverse jargon, etc.). Not to mention the lack of common accessibility features

Ultimately, I think the 3rd party devs building accessible and frictionless frontends will be key in this respect.

With that being said, I think a better marketing strategy is to say "join this app" (which connects them to the Lemmy/Mastodon network) because I imagine the bounce rate of the default Lemmy onboarding is not great.

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

Also instances aren't really helpful in this regard either. "Feddit" just sounds like "fake reddit" and it carries that reddit baggage. "Lemmy.world" and "lemmy.ml" has lemmy in the name so you have to explain lemmy which is off-putting. Stuff like Beehaw, Sopuli, etc, do well. I think Beehaw is actually a good example as well as it has it's own personal identity as well as being a federated forum.

[–] [email protected] 3 points 5 months ago (2 children)

Also, perhaps if we learn to value servers, so not treat them as mere relays, perhaps we’ll be able to teach value and independence.

If you want to be independent, the only thing that matters is the ability to able to roam around and port our identity and data wherever we want. Where you are doing your computing doesn't really matter.

government schemes to repurpose old computers into mini servers and that governments should give everyone a domain like NAME.TOWN.CITY and everyone can run a personal server and get used to it and then they can grow from there.

We don't need any of that. Computing power and storage is so cheap nowadays that even people in middle-income areas can afford to collect piles of used smartphones on their desk drawers. If there was any type of economic demand for what you are saying, we would have seen by now some company trying to make a business out of it.

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

If there was any type of economic demand for what you are saying, we would have seen by now some company trying to make a business out of it.

Domain registrars do indeed make money off of this.

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

I did now, and I do agree that registrars could play some role in a more decentralized future, though I'm still unconvinced ActivityPub will end up being the protocol primarily used in that future.

BTW, you might be aware of this, but there is already a DNS-based authentication protocol (DANE, https://en.wikipedia.org/wiki/DNS-based_Authentication_of_Named_Entities) which is supported by various mail servers.

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

Right, one can never be certain about the future, but AP is showing some staying power and (I think) the main reason that it's not evolving faster is because we are not exploring possibilities beyond "let's clone popular closed networks, and slap some AP to pass data around homogeneous servers".

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

Computing power and storage is so cheap nowadays that even people in middle-income areas can afford to collect piles of used smartphones on their desk drawers.

I think that's a dangerous assumption to make. Not everyone is as well off as ourselves. Some people can't even afford a desk, let alone have a desk drawer full of old phones.

[–] [email protected] 0 points 5 months ago (1 children)
  1. On average, we are rich enough to have plenty of gadgets around.

  2. Those in extreme poverty need access to more important things than access to these gadgets.

[–] [email protected] 1 points 5 months ago (1 children)
  1. Those in extreme poverty need access to more important things than access to these gadgets.

We're going down a sidetrack here but this is just false. A smartphone these days is a ticket to many things required to live. Applying for jobs, applying for government services, buying essential items cheaply, cheap/free education.

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

Applying for jobs, applying for government services, buying essential items cheaply, cheap/free education.

None of these things are even close to be available to people in extreme poverty.

Think "no access to running water or sewage systems" levels of poverty, not "living in a ghetto area of an European or North American country".

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

Yes, even for them, the information they can get through a phone is lifesaving. They can learn how to build water supply and sanitation systems and shelter. They can learn how to farm and forage for food. They can find the best way to cross international borders and become a refugee. And so on, they can improve every aspect of their lives. Information is power, and with a smartphone they have access to the entire world, rather than just word of mouth knowledge in their local community.

Obviously, places without any form of electricity are screwed, but satellite internet is rapidly becoming cheaper and more accessible so soon they won't even need cell coverage.

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

I was using old smartphones as an example of the amount of excess computing power available which goes unused, not what people can do with it.

Your argument is just missing the point and annoying sophistry. Can you please just drop it?

[–] [email protected] 14 points 5 months ago* (last edited 5 months ago) (1 children)

That's a nice idea but has some pretty obvious technical drawbacks that aren't discussed in the blog article:

The complexity of most networks grows about exponentially with the number of connections between the entities. It gets immensely more computationally expensive that way and you're bound to use lots of additional network traffic and total cpu power that way.

And some (a lot of) people like using social media on their phones instead of a computer. You're bound to drain their batteries real fast by moving application logic there.

Other than that I like the general idea. The Fediverse should be more dynamic. Caching and discovery have some big issues in the current form. That should be tackled and we need technical solutions for that. And the current architecture isn't perfect at all.

Furthermore, if talking about the edge where networks are smarter... Why then move it into the browser which isn't at the edge? Wouldn't that be an argument to invent edge-routers like in edge computing? I mean with c2s you have a server on the one side and a client on the other side with the edge somewhere in between. If you now flip it you end up in a different situation. But there's still nothing at the edge where you could introduce some smarts...

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

And some (a lot of) people like using social media on their phones instead of a computer. You’re bound to drain their batteries real fast by moving application logic there.

Messaging applications (that need to be online all the time) don't have this issue. Mobile email clients are even more conservative in resource usage. Why would an AP client be any different?

You are not going to be transcoding video or executing complex machine learning analysis on the device. I can reasonably argue that a local-first AcvitityPub application would be no different in resource usage than something like a modern XMPP or Matrix client.

[–] [email protected] 4 points 5 months ago* (last edited 5 months ago) (1 children)

Because with all of that, messaging, email, xmpp, matrix and ActivityPub most of the magic happens on the server. Take email for example. The server takes care to be online 24/7. It provides like 5GB of storage for your inbox that you can access from everywhere. It filters messages and does database stuff so you can habe full text search. Same with messaging. Your server coordinates with like 200 other servers so messages from users from anywhere get forwarded to you. It keeps everything in sync. Caches images so they're available immediately.

That allows for the clients/Apps to be very simplistic. It just needs to maintain one connection to your server and ask if there's anything new every now and then. Or query new data/content. Everything else is already taken care for by the server.

OP's suggestion is to change that. Move logic into the client/App. But it's not super easy. If you now need to be concerned on the client with maintaining the 200 connections at all times instead of just 1 to see if anyone replied... Your phone might drain 200 times as much battery. And requiring the phone to be reachable also comes with a severe penalty. Phones have elaborate mechanisms to save power and sleep most of the time. Any additional network activity requires the processor and the modem to stay active for longer periods of time. And apart from the screen thats one of the major things that draws power.

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

What I am proposing is not getting rid of the server, just reducing the amount of functionality that depends on it. You won't be connecting with 200 different servers, you will still have only one single node responsible to get notifications.

Regarding storage: I can speak from experience that it you can have a local-first architecture for structured data that does not blow up the client. In a previous work, we built a messenger app where all client data was stored on PouchDB which could be synced via a "master" CouchDB. All client views would be built from the local data. Of course, media storage would go to the cloud, which means that the data itself was only highly-compressible text. You can go a looooong way with just a 1GB of storage, which is well within the limits of web storage

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

Hmmh. But how would that then change Mastodon not displaying previous (uncached) posts? Or queries running through the server with it's perspective?

And I fail to grasp how hashtags and the Lemmy voting system is related to a client/server architecture... You could just implement a custom voting metric on the server. Sure you can also implement that five times in all the different apps. But you'd end up with the same functionality regardless of where you do the maths.

And if people are subscribed to like 50 different communities or watch the 'All' feed, there is a constant flow of ActivityPub messages all day long. Either you keep the phone running all day to handle that. Or you do away with any notification functionality. And replicating the database to the device either forces you to drain the battery all day, or you just sync when the user opens the App. But opening Lemmy and it takes a minute to sync the database before new posts appear, also isn't a great user experience.

I'd say we need nomadic identity, more customizability with the options like hashtags, filters and voting. Dynamic caching because as of now Fediverse servers regularly get overwhelmed if a high profile person with lots if followers posts an image. But most of that needs to be handled by servers. Or we do a full-on P2P approach like with Nostr or other decentralized services. Or edge-computing.

I don't quite get where in between federated and decentralized (as in p2p) your approach would be. And if it'd inherit the drawbacks of both worlds or combine the individual advantages.

And ActivityPub isn't exactly an efficient protocol and neither are the server implementations. I think we could do way better with a more optimized, still federated protocol. Same with Matrix. That also provides me with a similar functinality my old XMPP server had, just with >10x the resource usage. And both are federated.

[–] [email protected] 2 points 5 months ago* (last edited 5 months ago) (1 children)

But how would that then change Mastodon not displaying previous (uncached) posts?

You default to push (messages that come through the server), and you fall back to pull (the client accessing a remote server) when you (your client) is interested in fetching data that you never seen.

And I fail to grasp how hashtags and the Lemmy voting system is related to a client/server architecture

hashtags, sorting and ranking methods, moderation policies, and pretty much everything aside from the events themselves are just ways to visualize/filter/aggregate the data according to the user's preferences. But it turns out that this is only "complex" when your data set is too large (which is bound to happen when your server has to serve lots of users). If you filter the data set at the client, its size becomes manageable.

we do a full-on P2P approach like with Nostr

Nostr is not p2p, and p2p is not what I am talking about. Having logic at the client does not mean "p2p".

XMPP server (has less resource usage and is) federated.

Yes, because the XMPP server is only concerned with passing messages around!

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

Ah, you're right. Nostr uses relays. Now I know what the name stands for. Sounds a bit like your proposal in extreme. The "servers" get downgraded to relatively simple relays that just forward stuff. The magic happens completely(?) on the clients.

I'm still not sure about the application logic. Sure I also like the logic close to me (the user.) The current trend has been towards the opposite for quite some time. Sometimes the explanation is simple: If you do most things on the server, you retain control over what's happening. That's great for selling ads and controlling the platforms in general. On the other hand it also has some benefits for power efficiency on the devices. I'm not talking about computing stuff, but rather about something like Google Cloud Messaging which has the purpose of reducing the amount of open connections and power draw and combine everything into a single connection for push messages. In order to do decide when to wake a device, it has access to to the result of the filtering and message priorization. Which then needs to be done server-side.

I'm also not sure with the filtering of hashtags. I mean if you subscribe to a hashtag. Or want to count the sum to calculate a trend... Something needs to work through all the messages and filter/count them. Doesn't that mean you'd need all Mastodon's messages of the day on your device? I'm sure that's technically possible. Phones are fast little computers. And 4G/5G sometimes has good speed. But l'm not sure what kind of additional traffic you'd estimate. 50 Megabytes a day is 1.5GB for your monthly cellular data plan. A bit less because sometimes people are at home and use wifi... But then they also don't just use one platform, but have Matrix, Lemmy and Mastodon installed. And you can't just skip messages, you'd need to handle them all to calculate the correct number of upvotes and hashtag use. Even if the user doesn't open the app for a week.

I don't quite "feel it". But I also wouldn't rule out the possibility of something like a hybrid approach. Or some clever trickery to get around that for some of the things a social network is concerned with...

Or like something I'd attribute more to edge computing. The client makes all the decisions and tells the edge (router) exactly what algorithm to use to do the ranking, how to do the filtering and when it wants to be woken up... That device does the heavy lifting and caches stuff and forwards them in chunks as instructed by the client.

[–] [email protected] 2 points 5 months ago* (last edited 5 months ago)

Doesn’t that mean you’d need all Mastodon’s messages of the day on your device?

You wouldn't need that. Think in terms of XMPP: a server could create the equivalent of a MUC room for tags, and the client could "follow" a tag by joining the room. The server would then push all messages it receives to that room. This scales quite well and still puts the client in control of the logic.

Similar architecture could be used for groups.

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

Why would an AP client be any different?

A Matrix app connects to a Matrix server, same for XMPP and email. Sometimes they might connect to a few more for extra accounts.

An AP client in the way you're describing will need to connect to thousands of servers (at least). The whole point of federation is that you get content from a large network but through a single source.

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

connect to thousands of servers

So does a web browser. So does a mobile Lemmy client like Jerboa. "Connecting to thousands of servers" doesn't mean anything, if these connections are sporadic and uncorrelated.

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

When you first sign up to a account, you might be greeted with a list of recommended users to follow. This list can be configured by the server admin, but in any case it will only be able to show you accounts that are from the same server as yours or from a server that already “federates” with it.

How will you get a list of users on different servers without connecting to them?

When you run a search query, you are running the query through the server, and again the results are only a reflection of the data that has been “seen” by the server.

Changing this will require the client to search through a bunch of servers itself, or use a 3rd party search engine.

The “trending hashtags” feature only works for tags that have been explicitly approved by the instance admin.

How will you get trending hashtags from servers without connecting to them?

The server provides different sorting methods for posts and comments, such as “Hot”, “Active”, “Newest”, etc. There is no way for the user to define their own sorting method.

How would you fetch posts, their score and comments from servers without connecting to them?

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

How will you get a list of users on different servers without connecting to them?

In the same way that a RSS reader knows which feeds to download?

Changing this will require the client to search through a bunch of servers itself, or use a 3rd party search engine.

Yes, but the 3rd party search engine can be specialized. It could be a service that indexes all of the fediverse, or it could be a "standard" search query with some special operators.

How would you fetch posts, their score and comments from servers without connecting to them?

Your application will already receive updates from the communities you are subscribed to. In the case where you want to browse by /all, then yes, on first load your client will be making a bunch of queries to different servers that have communities to get a list of updates. But this would be an issue only on first load, because subsequent queries would be "give me all events that happened since the last time I visited".

But if you really don't want to run this on your device, then how about this: someone develops a "client" which is actually an aggregator of all the different instances which can then be used as web service that provides an API for end-users. This way, we still get to enjoy a distributed system, we still have a client-first application and we also get the benefit of having a service that makes it easier for the people who think that "federation is too complicated for non-techies."

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

In the same way that a RSS reader knows which feeds to download?

I meant how will you fetch a list of users from which you could generate recommendations.

Yes, but the 3rd party search engine can be specialized. It could be a service that indexes all of the fediverse, or it could be a “standard” search query with some special operators.

I guess with proper integration for different search engines (or maybe just something like Searx) this could be useful.

Your application will already receive updates from the communities you are subscribed to. In the case where you want to browse by /all, then yes, on first load your client will be making a bunch of queries to different servers that have communities to get a list of updates. But this would be an issue only on first load, because subsequent queries would be “give me all events that happened since the last time I visited”.

Currently a Lemmy app loads all posts from a single server (which in turn, aggregates posts from different servers), and then loads stuff like images from their respective hosts. With your suggestion, every post might come from a different server, any of which might be temporarily down (not uncommon unfortunately). Caching will make this issue and the other issues less severe, but it won't solve them.

I don't disagree with the idea BTW, I just honestly think it's not practical (at least with ActivityPub).

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

With your suggestion, every post might come from a different server.

Why? Take our interaction, for example. the community is on lemmy.world, you are on lemm.ee and I'm on communick.news. My response generates an activity that is sent to LW, and LW then announces that activity to all the servers who have at least one subscriber. If LW went down, you wouldn't be able to see this message until it came back up and it started processing the federation queue again. Right?

The same thing would happen in a "message-relay" system. My client would send a message to LW, and LW would then send the activity to lemm.ee, which would then "push" it to you. If any of the servers went offline, the whole process would stop at the node that is offline and would then resume when it came back up.

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

If you load /all, you will get posts from communities on a bunch of different servers. If you load your subscriptions, those communities still likely come from multiple servers.

Currently, lemmy.world, lemm.ee, and communick.news are running all the time, with random downtime due to issues/maintenance. When I log in to lemm.ee, I fetch the posts from lemm.ee, including any posts that may have been posted to lemmy.world and communick.news while I was logged out, even if both are down while I'm logged in.

I guess my main issue with your idea is that it will (IMO) encourage people to host more servers, which in turn could lead to communities being more spread out across servers, which will then make the experience worse since a client side implementation depends much more heavily on servers being available.

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

I guess my main issue with your idea is that it will (IMO) encourage people to host more servers

Why? If anything, I believe that it would be the opposite. Less "responsibility" on the servers would mean better capacity to scale and serve more clients on the same hardware and (if the identity is not dependent on the server and can be easily portable) it would mean less attached value to the server itself, so people wouldn't care so much about "what instance they are joining".

The best analog there is to what I am proposing is movim, and if you go take a look at their server list, you will see quite a limited amount of servers even though it has as many active users as Lemmy.

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

Less "responsibility" on the servers would mean better capacity to scale and serve more clients on the same hardware and (if the identity is not dependent on the server and can be easily portable) it would mean less attached value to the server itself

To me, this makes it sound much more attractive to run a server, as it will be easier to do. Though I guess this is subjective.

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

I really agree with your premise. Less responsibility on the server means less depending on it. We'd gain independence, could move accounts and do some more nuanced things. But I really think the less your own server or relay does, the more you're prone to suffer from network outages, other servers becoming unavailable etc. So you'd need to duplicate everything no matter what to compensate for that. And you introduce lots of additional traffic by fetching all the hashtags from everywhere. Or you'd end up in the same situation as before where they're subject of availability on your instance or perspective on the network.

Plus you want unsubscribed old posts showing up and a perspective that's independant of the chosen instance. So you basically need to replicate everything everywhere. And this introduces additional complexity and resource usage and your goal was to reduce that. (And federation becomes just an inconvenience and additional unnecessary work at that point.)

It's not that it's technically difficult. We could do that. And you're right by pointing at XMPP and Movim and stuff. But that also doesn't solve most of the issues you outlined in your initial post. It's even more narrow in how you rely on your own server and shaping your perspective on the whole network.

And sometimes this is what we want. People do dedicated instances to a topic. For example a Mastodon server for IT and tech people. Of course you want IT related stuff to show up on your main page. And we sometimes want moderation and a place to have civilized discussions. Not a place of anarchy and shitposting like on 4chan. That requires some form of hierarchy or democracy. And at the end of the day the server operators are responsible for what content is shared (publicly) via their infrastructure...

So I'd say you can't achieve all your goals with ActivityPub. You need to think bigger. Maybe do away with federation altogether. Since federation is all about having different instances with a different focus and perspective on the same network. Maybe focused on a language or subject or sub-community of users, different rules and moderation. And you want more a unified perspective, everyone gets the same and less intermediaries. I'd say that is fundamentally incompatible with this form of federation and kind of out of scope. You probably want a network without that hierarchy. And that comes with different technical challenges and advantages.

(And suppose we extended ActivityPub. Instead of separating and moving stuff to the client, we could imagine you install a Lemmy or Mastodon server/instance on your computer or phone. Along your browser. You'd have it all on your device and could configure it like you wanted. I'm not sure if that'd be a superior solution.)

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

I feel like one of the issues with these "new plan for X" essays or posts is that readers usually interpret it as something to completely replace the status quo. It's not the case. I'm not saying that everyone should start using this. I'm not saying that everyone should leave Mastodon. I'm not saying that all server-focused software using AP needs to go away.

I'm just saying that the current approach is not the only one and that Mozilla could have benefited from trying something different. I'm saying that Federation might be the right unit of organization for some cases, but that there is a whole world of possibilities where Federation is not so suitable.

I get it, it makes no sense to say that a network with 1M+ active users is "doing everything wrong" and that we need to start anew. I am not arguing the case to change those that are already here. I am arguing for changes that could help those that looked at "Federated Social Media" and went away because this model didn't work for them.

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

Hmm, I get you. But I don't think that's what this discussion is about. I'm more concerned with the technical difficulties / impossibilities / inconsistencies with the approach. Less so if it should replace the current solution or a possible upgrade path. That's something to worry about later. It's more like I don't think it's going to work properly. It's more combining the disadvantages of two different approaches.

But I'm happy if someone goes ahead and does a better approach. I also see the shortcomings of the current solution. Maybe I'm being too pessimistic.

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

It sounds like Nostr is what you would prefer?

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

Nostr is broken in one crucial aspect: your identity is derived from your private key. If your keys are compromised, your whole account is lost forever. WIth Actor Ids, your name can be a domain name, which makes it easier to protect your identity. With FEP-61 any DID could potentially be used.

I honestly don't like this "if you are criticizing what we have, it means that you don't belong here". You are responding like I haven't looked at Nostr, or even the other alternatives. It reeks of gate-keeping. But anyway, for the sake of argument: what I want is a mix of Libervia and Movim, with the ActivityPub vocabulary.

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

There is also one more broken thing. Relay servers are not needed, as we already have networks that can deliver any IP packet instead of building a special network just for Nostr.

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

Yup, sure enough. There it is:

We should not and need not emulate the fragmentation of closed social networks

Yes, we should emulate closedness. Completely interconnected spaces are breeding grounds for monopoly. The Fediverse's lack of perfect interconnection is a feature, not a bug.

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

I think you didn't parse the sentence as I meant it.

I am not saying you should make all networks completely connected. What I am saying is that we should not develop Fediverse apps by emulating a closed (as in proprietary, corporate-controlled) service.

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

i really disagree with most of your points. a "server" is some machine working for the client. your proposal isn't getting rid of servers, you're just making every user responsible to be their own server.

this mostly feels like "im annoyed my instance is filtering content and lacks replies". have you tried fedilab? it allows fetching directly from source, bypassing your instance and fetching all replies. i think thats kind of anti-privacy but you may like it

if you're interested here's a wall of text with more argumentations on my points (sorry wanted to be concise but really failed, i may make this into a reply blog post soon:tm:)


Federation is not the natural unit of social organization

you argue that onboarding is hard, as if picking a server is signing a contract. new users can go to mastosoc and then migrate from there. AP has a great migration system. also federation is somewhat the natural unit: you will never speak to all 8B people, but you will discuss with your local peers and your ideas may get diffused. somewhat fair points, but kind of overblown

Servers are expensive to operate

you really can't get around this, even if you make every user handle their own stuff, every user will have their database and message queue. every user will receive such post in their message queue, process it and cache in their db. that's such a wasteful design: you're replicating once for every member of the network

We should not need to emulate the fragmentation of closed social networks

absolutely true! this should get handled by software implementers, AP already allows intercompatibility, we don't need a different system, just better fedi software

The server is the wrong place for application logic

this is really wrong imo, and the crux of my critic. most of your complaints boil down to caching: you only see posts cached on a profile and in a conversation. this can't be different, how could we solve it?

  • you mention a global search: how do we do that? a central silo which holds all posts ever made, indexed to search? who would run such a monster, and if it existed, why wouldn't everyone just connect there to have the best experience? that's centralization
  • again global search: should all servers ask all other servers? who keeps a list of all servers? again centralized, and also such a waste of resources: every query you're invoking all fedi servers to answer?
  • even worse you mention keeping everything on the client, but how do you do that? my fedi instance db is around 30G, and im a single user instance which only sees posts from my follows, definitely not a global db. is every user supposed to store hundreds of GBs to have their "local global db" to search on? why not keep our "local global dbs" shared in one location so that we deduplicate posts and can contribute to archiving? something like a common server for me and my friends?

also if the client is responsible of keeping all its data, how do you sync across devices? in some other reply you mention couchdb and pouchdb, but that sounds silly for fedi: if we are 10 users should we all host our pouchdb on a server, each with the same 10 posts? wouldn't it be better keeping the posts once and serving them on demand? you save storage on both the server and all clients and get the exact same result

having local dbs for each client also wouldn't solve broken threads or profiles: each client still needs to see each reply or old post. imagine if every fedi user fetched every old post every time they follow someone, that would be a constant DOS. by having one big server shared across multiple people you're increasing your chance of finding replies already cached, rather than having to go fetch them

last security: you are assuming a well intentioned fedi but there are bad actors. i don't want my end device to connect to every instance under the sun. i made a server, which only holds fedi stuff, which at worst will crash or leak private posts. my phone/pc holds my mails and payment methods, am i supposed to just go fetching far and wide from my personal device as soon as someone delivers me an activity? no fucking way! the server is a layer of defense

networks are smarter at the edges

the C2S AP api is really just a way to post, not much different than using madtodon api. as said before content discovery on every client is madness, but timeline/filter managenent is absolutely possible. is it really desirable? megalodon app allows to manage local filters for your timeline, but that's kind of annoying because you end up with out of sync filters between multiple devices. same for timelines: i like my lists synched honestly, but to each their own, filters/timelines on the client should already be possible.

you mention cheaper servers but only because you're delegating costs to each client, and the "no storage" idea is in conflict with the couchdb thing you mentioned somewhere else. servers should cache, caching is more efficient on a server than on every client.

a social web browser, built into the browser

im not sure what you're pitching here. how are AP documents served to other instances from your browser? does your browser need to deliver activities to other instances? is your whole post history just stored in localstorage, deleted if you clear site data? are you supposed to still buy a domain (AP wants domains as identities) and where are you going to point it?

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

I have not once said that we need to get rid of servers, but I am saying that they could (should?) be used only as an proxy for the outbox/inbox. I've said already elsewhere, but it may make it easier to understand: the "ideal" model I have in mind is something like https://movim.eu, but with messages based around the ActivityStream vocabulary.

you really can’t get around this, even if you make every user handle their own stuff, every user will have their database and message queue.

Why is it that a XMPP server can handle millions of concurrent users on a single box with 160GB RAM and 40 cores, yet Mastodon deployments for less than 10k active users have crazy expensive bills?

AP has a great migration system.

Hard disagree, here. Tell me one system where I can take my domain and just swap the urls of the inbox/outbox. Mastodon lets you migrate your follower list and signals the redirect to your followers about your new actor ID, but you can not bring your data. But most importantly, the identity itself is not portable.

silo which holds all posts ever made, indexed to search? (...) that’s centralization

You can have decentralized search indexes. Each server holds a bit of the index, but everyone gets to see the whole thing.

i don’t want my end device to connect to every instance under the sun.

Not every instance, but you'd be connecting to the outboxes from the people you follow. How is that different from, e.g, subscribing to a RSS feed?

my fedi instance db is around 30G, and im a single user instance which only sees posts from my follows

First: How the hell did you get this much data? :) I have an instance running for 4 years, with a bunch of relays, serving ~10 users and the DB has less than 4GB.

But to answer your question: If you are running a single-user instance, then you are already running a client, the only difference is that you are running on a remote machine which proxies everything for you. And how you deal with data wouldn't change: just like you can delete old/stale data in Mastodon, you'd be able to delete or offload messages that are older than X days.