T
T
toly2014-11-08 00:21:18
Django
toly, 2014-11-08 00:21:18

How to make a hot switch in Django between databases when one of them crashes?

Hello!
There is a Django application with database routing - we write to the master, we read from the slave.
Is there an easy way (snippet, package) to read from the master (or other slave) when the slave falls?
PS It is not possible to use balancing at the database level.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
U
un1t, 2014-11-13
@un1t

There is, it's called django-replicated.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question