4 ms·
There's nothing really inherent to Django that prevents it from scaling horizontally, not even the ORM. For the typical SQL read-heavy workload it will scale a
by benwilber0 9y ago
There's nothing really inherent to Django that prevents it from scaling horizontally, not even the ORM. For the typical SQL read-heavy workload it will scale as well as anything else depending on the scalability of the backing RDBMS. Should always use proper HTTP response caching with something like Varnish or via 3rd-party CDN where possible.
- linkmotif 9y ago> depending on the scalability of the backing RDBMS As far as I know, none of the backing RDBMSs that the ORM supports are horizontally distributable. At least not officially, right? CockroachDB with its Postgres interface sounds good, or Citus? But as of today, are any of the supported DBs distributed?
- benwilber0 9y agoMySQL Cluster [1] has been around a long time for applications that need linear scalability with ACID guarantees [1] https://www.mysql.com/products/cluster/ https://www.mysql.com/products/cluster/