this post was submitted on 12 Jun 2023
196 points (100.0% liked)
sh.itjust.works Main Community
7732 readers
1 users here now
Home of the sh.itjust.works instance.
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
@TheDude@sh.itjust.works does Lemmy support a distributed configuration with multiple database and app servers, or are you limited to a single instance of everything?
The official supported deployments are single instance based, that being said things are already broken up into separate docker containers so it should be pretty easy to do. Would need to do some testing before hand. If this instance continues growing this way I'll need to look into scaling horizontally instead of vertically
Check out CockroachDB, a distributed SQL database compatible with PostgreSQL clients.
Could you elaborate what this means?
Better to have more servers as opposed to one ultra powerful server because the ultra powerful server tends to be more expensive than an equivalent strength collection of weaker servers. Also, you pay for all the power even during times you don't need it whereas you can take down or add more weak servers as necessary.
Ah, that makes sense. Thank you for sharing.
Thanks for the info! Keep up the great work man.