0

In order to increase the concurrency of my Django app, I would like to create read replicas of my master database. I would like to know what is the best way of implementing this. It would be great if this can be implemented using Automatic database routing in Django.

  • 1
    See [https://docs.djangoproject.com/en/3.2/topics/db/multi-db/](https://docs.djangoproject.com/en/3.2/topics/db/multi-db/). An example for primary/replica configuration is also given in the documentation. – Abdul Aziz Barkat Apr 19 '21 at 07:23
  • I think that question is too general. It is both about database administration and application design. – Laurenz Albe Apr 19 '21 at 09:04
  • @LaurenzAlbe Possibly, but I'd be charitable and say thats just because of a language barrier. To Jordan, there is no automatic way of doing that, but the link given should cover it. Basically you manually specify it when needed. – Andrew Apr 20 '21 at 21:24

0 Answers0