Föderation EN Do 14.11.2024 17:38:07 this morning in #hachyderm infra admin - the secondary postgres setup continues! yesterday we: today: Medien: 1 |
Föderation EN Do 14.11.2024 18:10:10 @esk If that helps you getting confidence in it, we have been using a read-only replica for mastodon.social for more than a year, and it *really* helps (it handles 50% of the requests). Since we improved replica support in 4.2, we have not seen any issues related to this. |
Föderation EN Do 14.11.2024 18:14:22 @renchap awesome! my main hesitation was that our initial replication config was quite slow -- with up to 50 second lag time. after some changes, we've got it down to sub-second which seems much more friendly for a read replica. we may try flipping to use the REPLICA_* settings as soon as this weekend! |
Föderation EN Do 14.11.2024 18:18:28 |
Föderation EN Do 14.11.2024 18:38:55 @thisismissem @esk Some things in sidekiq also use the replica. We looked at the most expensive and frequent SQL queries that do not *require* the latest data, and manually flagged them to run on the replica. |