zlacker

[parent] [thread] 7 comments
1. jespre+(OP)[view] [source] 2023-05-04 21:37:49
So server software is not written with high performance in mind?

I've read somewhere that federation is done via regular HTTP requests which ends up really hogging down servers if someone has a lot of followers.

replies(1): >>afavou+e1
2. afavou+e1[view] [source] 2023-05-04 21:43:40
>>jespre+(OP)
Mastodon is written in Ruby on Rails and there are some inherent performance issues with that, it generates a huge number of Sidekiq jobs that can bog down a server quite easily. There are other, non-Ruby implementations aiming for compatibility with the Mastodon API though, so I’m curious to see how it will all shake out.
replies(2): >>jeremy+2i >>vidarh+zn4
◧◩
3. jeremy+2i[view] [source] [discussion] 2023-05-04 23:36:06
>>afavou+e1
People can make a case for the developer productivity benefits of rails to a startup or business, but it’s hard to see it as worth the cost to the Mastodon community as a whole. But maybe it’s won the Fediverse market because of the depth of features which is a benefit of that productivity.
replies(2): >>pferde+V51 >>mal-2+Vo1
◧◩◪
4. pferde+V51[view] [source] [discussion] 2023-05-05 08:20:12
>>jeremy+2i
FWIW, there are some - maybe one or two - alternate implementations of Mastodon server brewing out there. Not of a generic ActivePub server, but specifically a server with an intention to be fully compatible with Mastodon.

So in the future, there may be more, hopefully more efficient choices.

◧◩◪
5. mal-2+Vo1[view] [source] [discussion] 2023-05-05 11:21:48
>>jeremy+2i
My read is it's mostly social, there's a lot of people accustomed to Mastodon and not much interest in exploring other options. There are implementations in Elixir (Pleroma, Akkoma) and work being done in Rust (Calckey, currently node but moving towards a Rust implementation). Mastodon dev team are not particularly open to criticism so my general sense is that admins should choose another project.
replies(1): >>jeremy+1L1
◧◩◪◨
6. jeremy+1L1[view] [source] [discussion] 2023-05-05 13:52:39
>>mal-2+Vo1
Yes, I’ve explored all this but I think Mastodon has won mainly because of its admin functionality, a huge fraction of dev effort is focused on tools to manage content moderation, spam policies and so on. Pleroma has a bad reputation because it was behind on that stuff at one time - maybe still - and a lot of instances had to be blocked because they couldn’t be managed effectively enough. I think it’s easy to underestimate how wide that moat is.
replies(1): >>mal-2+RM1
◧◩◪◨⬒
7. mal-2+RM1[view] [source] [discussion] 2023-05-05 14:01:00
>>jeremy+1L1
That's fair, I've heard complaints that mastodon's moderation tools also leave something to be desired but it might still be the best. I haven't been an admin so I can't comment firsthand.
◧◩
8. vidarh+zn4[view] [source] [discussion] 2023-05-06 08:10:24
>>afavou+e1
While Rails doesn't help, it also isn't really the problem here. The problem is a mix of deployment instructions that are complex and doesn't emphasise the need for robust caching enough (this should be behind a properly configured Nginx cache, and the entire site also ought to be behind a CDN), combined with a Mastodon-specific architecture that as you say is really aggressively generating async jobs. Mastodon is really unnecessarily heavy to run.
[go to top]