Description
Depends on #1823
Right now, crimethinc.com runs as a Rails app on Heroku hosted in the U.S.
If any actor decides to target, take down, or block the site, we'd like to be able to point DNS to a different server and not miss a step (or too many steps). That means, we'd need to have the site already up and running in different contexts:
- different companies
- non-company backed
- different countries
These mirrors need to remain unknown to the general population and remain behind the scenes if they're ever needed.
So, a couple key ingredients to making this work seamlessly are:
- the mirrors need to update themselves when new code is pushed to
main
branch in GitHub (or a GitHub mirror) - the mirror need to update their database content (everything except drafts and users) like we do for development
Read replica mirrors
These could be run by anyone (in theory) but not update their content directly. Only get their content updates from the .com
. Their database content would like the database dump used for development staging, and review apps.
Live replica mirrors
These would be run by us or people we trust completely. They would need all fo the public data plus drafts, users, article view counts. And their content could be updated directly if we made a DNS change to point to one of them.