[Django]-Django database scalability

2👍

Don’t forget about caching either. Using memcached to relieve your DB of load is key to building a high performance site.

As alex said, django-core doesn’t support your specific requests for those features, though they are definitely on the todo list.

If you don’t do this in the application layer, you’re basically asking for performance trouble. There aren’t any really good open source automation layers for this sort of task, since it tends to break SQL axioms. If you’re really concerned about it, you should be coding the entire application for it, not simply hoping that your ORM will take care of it.

1👍

  1. There is the GSoC project by Alex Gaynor that in future will allow to use multiple databases in one Django project. But now there is no cross-RDBMS working solution.

  2. There is no solution right now too.

  3. And again – there is no cross-RDBMS solution. But if you are using MySQL you can try excellent third-party Django application called – mysql_replicated. It allows to setup master-slave replication scenario easily.

0👍

here for some reason we r using django with sqlalchemy. maybe combination of django and sqlalchemy also works for your needs.

Leave a comment