What parts of Mastodon access postgres database

Am I correct in understanding that only the sidekiq processes will access the postgres database? In other words, the puma processes and streaming processes will not as they get their data only from redis?

I ask because I’m trying to determine if having 75 sidekiq processes means I will only have a maximum of 75 postgres database connections from mastodon.

Thanks!

No, all three processes access the database, although the streaming server process does so less often and only need read access to the database.

3 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.