File storage and bandwidth. These expenses will also only get more expensive over time. File bandwidth is the #1 charge on the monthly server bill right now. I live in fear of an AI scraper figuring out how to scrape all of these files and bankrupting me overnight.
from RIP botsin.space.
I would expect a "fastly will solve all your problems" from this and not an attempt to write an optimized codebase. But that's just me.
Now for the advertisement (thought you were safe from it here). My benchmarking at data.funfedi.dev/ doesn't indicate a performance degradation in Mastodon v4.3.1. Of course, it's the receiving messages use case, and not the sending and offering up downloads. So it's completely irrelevant.
Now Helge out.
Helge
in reply to Helge • • •bumblefudge
in reply to Helge • • •codeberg.org/fediverse/fep/src…
fep/fep/cd47/fep-cd47.md at main
Codeberg.orgbumblefudge
in reply to bumblefudge • • •Helge
in reply to bumblefudge • • •This has a simple answer: "I don't know".
However, I expect the engineering effort to adapt Mastodon and its clients to be able to make use of IPFS to be substantial. So this is not something that can be used for short term relief.
The ideal solution would be something like "Update to Mastodon 4.4.0 and add these three config variables". I don't see something like that involving new technologies.
Emelia 👸🏻
in reply to Helge • • •Jortage comes to mind, but I think it'd also be possible to instruct software "hey, I trust this server not to track me, serve me their media directly"
I know @shlee has thoughts here
:PUA: Shlee fucked around and
in reply to Emelia 👸🏻 • • •I've messaged the Jortage dev to see if I can throw money at them to build a Jortage 2.0 (deployable edition)... they haven't replied
my main rant: shlee.fedipress.au/2024/call-t…
Call to Action: Fediverse Media Server
Shleebumblefudge
in reply to :PUA: Shlee fucked around and • • •:PUA: Shlee fucked around and
in reply to bumblefudge • • •I've been singing the praises of shared services in the fediverse for a long time.
I think IFTAS has their hands full.. but I also think one or two people with domain specific experience could get this done... if I knew the right people I'd ask them
Emelia 👸🏻
in reply to :PUA: Shlee fucked around and • • •:PUA: Shlee fucked around and
in reply to Emelia 👸🏻 • • •I'm moving to better colo soon with 10x bandwidth....
so I could host a regional node once that's done (still need to write the server itself)
bumblefudge
in reply to :PUA: Shlee fucked around and • • •Helge
in reply to bumblefudge • • •@shlee and al. I've added some relevant sequence diagrams to my fairer federation draft fep. Main point is the media server case, which has two consequences:
Both are good. Is this the picture everybody has in mind?
fep/fep/0008/fep-0008.md at drafts
Codeberg.org:PUA: Shlee fucked around and
in reply to Helge • • •I don't understand the protocol enough so please take this toot as a note.
My objective is closer to just offering a S3 compatible service and adding the AP smarts to that in the backend (relay style to push/pull media between media servers).
but having a AP level support for media server location makes sense (maybe falling back to local if the mediaserver goes down or gets replaced) or even supporting a primary/second media server on the instance level in case of failure.
also, I'd like to see the AP include a UUID/hash of every media file so that in theory, instances/clients can migrate/roam from media server to media server or new media servers can easily find missing files.
but in principle yes :) Thank you for your efforts.
edit: I'm interested in the options around per toot media location. Because right now, the media URL is hardcoded on a toot by toot basis, and changing that media path retroactively feels hard/impossible. see github.com/mastodon/mastodon/p…
Add maintenance script to fix remote_url when media server changes by noellabo · Pull Request #16414 · mastodon/mastodon
GitHubbumblefudge
in reply to :PUA: Shlee fucked around and • • •> also, I'd like to see the AP include a UUID/hash of every media file so that in theory, instances/clients can migrate/roam from media server to media server or new media servers can easily find missing files.
This would be a major change to/extension of the protocol, BUT I completely agree that it would be worth exploring. Hash-addressing opens up multiple "fallback" methods to implementations that want to "heal" broken paths...
bumblefudge
in reply to bumblefudge • • •also, as far as making the *protocol itself* smarter about the expensive and clunky nature of uploads, it's worth mentioning that the spec itself has extremely little to say on the subject, and it would seem the authors of the protocol spec *assumed ongoing work would be done by the CG at the implementation/software level* : w3.org/TR/activitypub/#uploadi…
We could... spin that CG work item back up? it feels like a placeholder that Rhiaro made 3 commits to...
ActivityPub
www.w3.orgbumblefudge
in reply to bumblefudge • • •codeberg.org/fediverse/fep/src…
fep/fep/fffd/fep-fffd.md at main
Codeberg.orgHelge
in reply to bumblefudge • • •Well, I guess one needs to explain more than I've done so far. I'll try to update fairer federation.
Also this is really not an AP thing. I also believe that it is imperative to decouple the solution here. It's about sharing the work load in hosting media. That's relevant to every decentralized network ...
Helge
in reply to :PUA: Shlee fucked around and • • •After thinking and self reflecting some more, I have two things to say:
So what one would really need for this is a founder that knows if this is a "serious business case". I have no idea how to convince a bank to give me an account that can handle that kind of volume. I have no idea, how I would collect the bills. I have no idea how I would fairly split the bills between instances.
If you are a founder, and need someone to estimate the coding costs for this, and do the actual work, please feel free to reach out to me.