by nop_slide · 1y ago · 0 comments
The other instances are mostly redundant. That's how sites like Hacker News tend to operate, and why I chose this architecture. It's simple and stupid but doesn't work in scenarios where you have multiple servers in different locations for example. There's LiteFS to solve this problem but I don't have experience with it yet.
Cheers
How litestream handles master-master or promoting a slave and switching back later isn't clear to me.
https://joshkaramuth.com/blog/django-deployment/
But it doesn't go over multi-instance coordination