====================================================================
Published: 27 November 2022
Tags: nginx, postgres, redis, ruby
Hazel Weakly put together a bunch of resources/articles related to scaling a Mastodon service. It has a lot of interesting stuff on nginx config and scaling postgres, redis sidekiq, and ruby, along with Mastodon specific stuff.
Some highlights:
- Calculating your maximum postgres connections
- Nginx config for object storage
- Use a separate redis instance for cache and persistent data