Scaling Mastodon


Recently, Mastodon instances had to deal with an unprecedented number of new user signups. I found two instructive blog posts about how admins have been dealing with this influx.

Nora Codes, about how weirder.earth had to scale.

teknique, about how Free Radical solved scaling issues partially by throwing a Raspberry Pi into the mix.

Both of them reveal the bottlenecks of Mastodon’s architecture. Some parts of the architecture can handle much larger rates of activity than others. Allocating resources intelligently allows the instance to scale much further with the same hardware.

Both deal with the same problems in different ways, approaching it with different philosophies. It’s taught me a lot not just about sysadmin skills but also software architecture in a more general sense.