High Performance Django

豆瓣
High Performance Django

登录后可管理标记收藏。

ISBN: 9781508748120
作者: Peter Baumgartner
出版社: CreateSpace Independent Publishing Platform
发行时间: 2015 -3
装订: Paperback
价格: USD 42.00
页数: 184

/ 10

0 个评分

评分人数不足
借阅或购买

Peter Baumgartner   

简介

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.

目录

CHAPTER 1: The Big Picture, 2
I. Introduction, 2
II. Philosophy, 3
III. The Pain Points, 4
IV. Cache All the Things, 6
V. The Journey of a Request, 8
CHAPTER 2: The Build, 14
I. Approach, 15
II. Watching Performance, 20
III. Where to Optimize, 22
IV. Testing, 48
CHAPTER 3: The Deployment, 51
I. Prerequisites, 52
II. Server layout, 58
III. Tuning the Stack, 61
IV. Configuring your Servers, 83
V. Monitoring, 87
CHAPTER 4: The Preparation, 97
I. Load Testing with Jmeter, 98
II. Launch Planning, 115
III. Pre-launch checklist, 118
CHAPTER 5: The Launch, 122
I. Your War Room: Monitoring the Launch, 122
II. When Disaster Strikes, 138
CHAPTER 6: The Road Ahead, 143
I. Traffic Spikes, 144
II. Bit Rot, 145
III. Poor Decisions, 146
CHAPTER 7: Final Thoughts, 152

短评
评论
笔记