ENGLISH

High Performance Django

Book information

Publisher
CreateSpace Independent Publishing Platform
Year
2015
ISBN
1508748128, 9781508748120
Language
english
Format
PDF
Filesize
5 MB (4754153 bytes)
Pages
184\170
Time added
2021-03-27 15:25:33

Description

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 at Lincoln Loop. 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. More information and ebook formats available at https://highperformancedjango.com. Preface The Big Picture Introduction Philosophy The Pain Points Cache All the Things The Journey of a Request The Build Approach Watching Performance Where to Optimize Testing The Deployment Prerequisites Server layout Tuning the Stack Configuring your Servers Monitoring The Preparation Load Testing with Jmeter Launch Planning Pre-launch checklist The Launch Your War Room: Monitoring the Launch When Disaster Strikes The Road Ahead Traffic Spikes Bit Rot Poor Decisions Final Thoughts Index

Similar books