3 ms·
I'm not sure what they ran, but if it's Mastodon: it scales in troublesome ways. For one, it uses Rails and is very big. Rails is known for being extremely slo
by berkes 3y ago
I'm not sure what they ran, but if it's Mastodon: it scales in troublesome ways.
For one, it uses Rails and is very big. Rails is known for being extremely slow¹.
A difficulty with ActivityPub is that it scales rather weird. If your server has (accounts with) many followers, you're essentially DDOSsed through activity. So it scales weird in the sense that not activity on your server demands Resources, but that activity on the fediverse, which you don't control, does.² So it can get very expensive really fast.
Maybe something like gotosocial could lower these costs. But that's not "stable" (as in: frequent, disruptive upgrades and missing features) enough for a govt, I'd say. Its software design, however is far better aligned with a server with relatively few (one, or a few dozen) accounts. Accounts that can have large following and activity.
Whereas the Rails project is much better aligned with servers with (tens of) thousands of users. I.e. with mastodon.social.
1 I've been helping companies scale and tune Rails for over 12 years now. I know it can be done, but also what the limitations are. They are real.
² https://ar.al/2022/11/09/is-the-fediverse-about-to-get-fryed-or-why-every-toot-is-also-a-potential-denial-of-service-attack/ https://ar.al/2022/11/09/is-the-fediverse-about-to-get-fryed...