this post was submitted on 12 Jun 2023
184 points (100.0% liked)
sh.itjust.works Main Community
102 readers
1 users here now
Home of the sh.itjust.works instance.
Join us on Matrix Chat
founded 1 year 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.
Thanks for the info! Keep up the great work man.
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.