[Django]-Django replica data save to many databases

7👍

Django does not solve the problem of replication for you.

Usual approach for replicationone database for write with several replicas for read. Replication is done on database level (not django), i.e. database is configured to write its transaction log, read-replicas sync this log and replay it.

Django multiple database configuration allows to specify different database URLs for read and write, and / or specify different databases for different applications or even tables – which is more a concern of database clustering, not replication.

Leave a comment