Coder Perfect

Is Django scalable? [closed]


I’m using Django to create a web application. The following are the reasons I picked Django:

I’m starting to worry about scale now that I’m coming closer to thinking about releasing my work. The only information I discovered about Django’s scalability capabilities came from the Django team (which isn’t to imply they’re wrong, but this is clearly not objective information…).

My questions:

Asked by Roee Adler

Solution #1

Of course, there are many more interesting sites and bloggers out there, but I have to come to a conclusion! is a top 10,000 website, according to a blog post about using Django to develop a high-traffic site. Stats from Quantcast and

(*) The author of the edit, which includes such a reference, previously worked on that project as an outsourced developer.

Answered by Van Gale

Solution #2

We’re currently performing load testing. We believe the server can handle 240 concurrent requests (at a constant rate of 120 hits per second, 24 hours a day, 7 days a week) without seeing substantial performance reduction. This translates to 432,000 hits each hour. Although response times aren’t fast (our transactions are enormous), there is no decline in performance as the load grows.

We’re using Django as a front-end for Apache and MySQL as a database. Red Hat Enterprise Linux is the operating system (RHEL). 64-bit. For Django, we utilize mod wsgi in daemon mode. Except for accepting the defaults, we’ve done no cache or database optimization.

On a 64-bit Dell with (I believe) 32GB RAM, we’re all in one VM.

We don’t need to spend a lot of time “tweaking” because performance is about the same for 20 or 200 concurrent users. Instead, we simply need to maintain our baseline performance by standard SSL enhancements, standard database design and implementation (indexing, etc. ), standard firewall enhancements, and so on.

What we do measure is our load test laptops struggling under the insane workload of 15 processes running 16 concurrent threads of requests.

Answered by S.Lott

Solution #3

I’m not sure how many people come each day, however here are a couple examples of large Django sites:

On Quora, there’s a list of high-traffic Django sites.

Answered by 16 revs, 4 users 93%

Solution #4

It was Mahalo in the United States. I’ve heard they handle around 10 million unique visitors every month. Mahalo is now powered by Ruby on Rails in 2019.

The Globo network (a Brazilian network of news, sports, and entertainment websites) is ranked in the top 100 worldwide by Alexa (around 80th currently).

PBS, National Geographic, Discovery, NASA (really a number of distinct organizations inside NASA), and the Library of Congress are among the other noteworthy Django users.

Yes, but only if your program is well-written and you have sufficient hardware. Django isn’t a miracle worker.

Yes, indeed (but see above).

In terms of technology, it’s simple: take a look at Soclone for an example. StackOverflow receives less than 1 million unique visitors every month, according to Compete. I can think of a dozen Django sites that receive more traffic than SO.

Answered by jacobian

Solution #5

It’s not about web frameworks or languages when it comes to scaling online projects; it’s about your architecture. It has to do with how you handle your browser cache, your database cache, how you use non-standard persistence providers (like CouchDB), how well your database is optimized, and a lot more…

Answered by razenha

Post is based on