ϻӮ

Jump to ratings and reviews
Rate this book

High Performance Django

Rate this book
Level up your Django skills!

Getting started with Django is easy. There are tutorials and books that literally walk you through the process of getting your first site up and running. Taking that code from your laptop to the real world is like opening pandora’s box.

Should I use Apache, Gunicorn, uWSGI or something else?
Where should I use caching to make things faster?
How do I know if my database has the right indexes or if it needs more resources?
Do I need a NoSQL database like MongoDB?
The site runs great on my laptop. Why is it so slow in production?
How many servers does my site need? How big should they be?
What is the 20% effort that will solve 80% of my performance problems?

If you’ve asked yourself any of these questions, you’re like most Django developers. Heck, we were asking some of the same questions when we started working with Django 7 years ago. Since then we’ve built, deployed, and maintained a lot of Django sites. Everything from realtime applications to large-scale CMSes with tons of traffic. Quite frankly, we made a lot of mistakes, but we learned a lot too.

High Performance Django is the book we wish we had when we got started. It will give you a repeatable blueprint for building and deploying fast, scalable Django sites.

250 pages, ebook

First published January 1, 2014

4 people are currently reading
76 people want to read

About the author

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
31 (42%)
4 stars
27 (36%)
3 stars
12 (16%)
2 stars
2 (2%)
1 star
1 (1%)
Displaying 1 - 11 of 11 reviews
Profile Image for Daniel Greenfeld.
Author17 books62 followers
June 16, 2015
As one of the co-authors of Two Scoops of Django, I'm often asked questions related to increasing the capability of a Django-powered site to handle high loads. I always respond to these questions with this one, "Have you read 'High Performance Django' yet?" I'm only half-joking when I say that we considered replacing our own chapter on removing bottlenecks with a page that says, "Go buy this book."

This is because "High Performance Django" is a really good book. Its relatively narrow topic means the authors get to focus on their subject. They not only explore each sub-topic, they suggest and demonstrate how to use powerful tools. They work to change the thinking of the reader, providing not just information, but also the types of questions that need to be asked by the reader. That's because as each site is different, administering a load-heavy site can't be done out of a book full of recipes - we need to have the smarts to know how to explore problems and issues, then determine a fix. That's the approach of this book and I can't recommend it highly enough.
Profile Image for Aaron Bassett.
13 reviews1 follower
February 29, 2016
I was actually a Kickstarter backer of the book, and although it has taken me a while to get around to reading it I was excited to get stuck in after seeing the glowing reviews. Unfortunately I was left disappointed.

First of all it is short, very very short. I read the entire thing, not skimmed *read*, in a couple of hours. The reason for it being so short? They don't go into any sort of depth on anything. As soon as it is just about to get interesting they declare it is "out of scope" or "you can find out more in the docs".

They say that template rendering is the "secondest biggest pain point in the stack" and then they spend less than a dozen paragraphs on discussing it. They spend longer telling you not to run as root or to lock down ssh, which while great advice has got very little to do with Django performance.

This felt more like a curated list of links than an actual book.
Profile Image for Swati Jaiswal.
77 reviews1 follower
June 27, 2021
A crisp and useful primer on Scaling systems in Django. There's a lot of common advice too which might apply generically on any production setup. They've also covered few tools and have used code examples to put the point across but haven't gone too technical, eventually being able to convey the idea in an easy to grasp manner.
On a side note, it can also help you prepare for that system design interview ;-).
Profile Image for Ivan Chernov.
196 reviews8 followers
March 25, 2019
Как начальный чек лист самых простых ошибок - сойдёт. Как хайлоад Джанго, вряд ли :-\
13 reviews5 followers
July 12, 2019
Genel olarak bilgi verici, konuya yabancıysanız hangi başlıklara bakmanız gerektiği konusunda fikir verebiliyor ancak hakkında yapılan reklamı hak etmiyor. Detaylar ciddi derecede yetersiz.
Profile Image for محمد عبد التواب.
8 reviews2 followers
June 21, 2021
Not some hacking techniques here and there, but rather is a methodology you can follow with many tactics to guide you along the way of optimizing your django site to perform better amd scale easily.
227 reviews27 followers
August 3, 2015
This is a pretty short but to the point book. It doesn't got into very much detail but it does give a high level overview of how the guys at Lincon Loop are running their Django services and that is pretty much invaluable.

No bullshit, all great tips and advice and a great starting point towards getting started building your own high quality stack!

I especially loved the article about Logging, Monitoring and Alerting. It's pretty much required for any large site but so very often overlooked and I never worked with a setup that integrated it effective so far. Looking forward to building something nice!
Profile Image for Chitrank Dixit.
37 reviews2 followers
June 12, 2018
This is a very nice book to know about developing heavy applications using Django. It is all about how to measure things very well, optimize it accordingly and see the results and repeat this process, there are lots of good practices that make this book an awesome read. The tools used in this book are almost all open source that we can freely use.
Profile Image for Andy.
86 reviews
May 17, 2015
I had an amazing time reading this book, it was great, I learned a lot about Django scalability and I recommend it to anyone trying to learn on this subject. This book is really worth the price!
Profile Image for Amrullah Zunzunia.
32 reviews
January 25, 2016
Great book,
although a lot of what it contains is not django specific, but it's good to have a book which collects all good practices at one place
Displaying 1 - 11 of 11 reviews

Can't find what you're looking for?

Get help and learn more about the design.