High Performance Django

Peter Baumgartner, Yann Malet

  • 出版商: CreateSpace Independ
  • 出版日期: 2015-03-31
  • 售價: $1,670
  • 貴賓價: 9.5$1,587
  • 語言: 英文
  • 頁數: 184
  • 裝訂: Paperback
  • ISBN: 1508748128
  • ISBN-13: 9781508748120
  • 相關分類: Django
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

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.

商品描述(中文翻譯)

開始使用Django很容易。有教程和書籍可以逐步引導您建立並運行第一個網站。將代碼從筆記本電腦轉移到現實世界就像打開潘朵拉的盒子。

以下是一些常見問題:
- 我應該使用Apache、Gunicorn、uWSGI還是其他什麼?
- 在哪裡應該使用緩存以加快速度?
- 如何知道我的數據庫是否有正確的索引或是否需要更多資源?
- 我需要像MongoDB這樣的NoSQL數據庫嗎?
- 網站在我的筆記本電腦上運行得很好,為什麼在生產環境中如此緩慢?
- 我的網站需要多少台服務器?它們應該有多大?
- 哪些努力可以解決80%的性能問題?

如果您曾經問過自己這些問題,那麼您就和大多數Django開發人員一樣。事實上,當我們在Lincoln Loop開始使用Django七年前時,我們也問過一些相同的問題。從那時起,我們建立、部署和維護了許多Django網站,從實時應用程序到大規模CMS,處理大量流量。坦率地說,我們犯了很多錯誤,但我們也學到了很多東西。

《高性能Django》是我們在開始時希望擁有的書籍。它將為您提供一個可重複使用的藍圖,用於構建和部署快速、可擴展的Django網站。

更多信息和電子書格式可在https://highperformancedjango.com獲得。