django_replicated icon indicating copy to clipboard operation
django_replicated copied to clipboard

Readme doesn't explain what this package does

Open nmgeek opened this issue 8 years ago • 1 comments

From skimming the source code I think this package directs writes to a master database and then shuffles a list of slave dbs to direct all reads to. My main confusion is in the word, 'replicated' in the package title. I am guessing the programmer/architect of the target Django App must use some other setup to actually replicate data from a master to a set of slaves. And you would do this to distribute load on a very busy Django app?

None of this is described on the README page but seems like the essence of django_replicated.

nmgeek avatar Nov 08 '16 18:11 nmgeek

@nmgeek no you are wrong.

Actual replication is a job for Postgresql itself. Here is nice article to read how to do that .

The purpose of this app (haven't tested it btw) is to ensure that above setup can work with Django.

ArtemBernatskyy avatar Feb 15 '18 16:02 ArtemBernatskyy