background

Python applications can handle millions of requests.

Scaling Python, the book that teaches you how to write scalable, distributed Python applications.


FAQ Buy Now

image

Learn how to build large Python applications

Whether you’re building your first distributed application or you want to make your code goes faster and able to handle thousands of requests, this book is for you.

Build for Resiliency

Today's applications run on large and distributed infrastructures. They need to handle failure without blinking. In an environment where anything could go wrong, how do you design your code to handle those failures?

Design

Learn how to plan an architecture that has no bottleneck. Get straight answers to your conception questions and solutions that work and solve concrete cases.

Best practice

Discover how you can write code that will flawlessly perform when distributed at large scale. From programming to profiling, optimizing and testing, the book covers every aspect.


Practical Examples

Every theme is covered with illustrating examples. Modify the provided examples as you wish to learn and understand how they work. There is no better way to learn something than toying with it, right?

Performance

Let's talk performance: how to write faster Python code, profile it, and optimize it. Read about concrete use-cases on how to enhance slow applications.

Batteries Included

Use the included Docker image to replay all the examples presented in the book. The Docker image provides the complete Python environment that you need in order to execute the examples. Use the notebooks to run then in a click from your Web browser.

Learn From the Experts

Scaling Python includes seven interviews from experienced Python developers. They share their know-how and wisdom on the various themes covered in the book.

Mehdi Abaakouk

Mehdi is a French free software hacker, working as a Senior Software Engineer at Red Hat. He has been using Linux for almost twenty years now and he has been a Python developer for ten years. He works daily on OpenStack, the largest open-source project using Python. He also regularly builds and contribute to distributed applications and is responsible for several widely used Python libraries – Cotyledon, oslo.messaging, etc.

Chris Dent

Chris Dent is a Staff Engineer at VMware, a member of the OpenStack Technical Committee, and an HTTP connoisseur. He has been using Python for more than fifteen years now and is an expert on WSGI. He has an extensive knowledge about REST API – he is one of the early organizers of the OpenStack API working group. Chris has, among other things, created Gabbi, a fabulous Python testing tool for HTTP.

Joshua Harlow

Joshua is a highly experienced engineer in distributed systems, working at GoDaddy. He maintains a few Python libraries, such as Kazoo (ZooKeeper client) or TaskFlow (distributed tasks management). He is very knowledgeable on principles that make Python application resilient and faults tolerant.

Naoki Inada

Naoki is a Researcher and Architect at KLab. He also happens to be one of the CPython developers. He worked on several significant features in CPython, such as asyncio. He has a few opinions on Python and other programming languages when it comes to asynchronous workflows.

Victor Stinner

Victor is a long time CPython core developer, working on the language itself for several years now. He is well known in the community for working on making CPython faster and leads several performance-oriented projects. He likes to talk about optimizations, profiling, and performance when using Python, and how to make the right decisions.

Jason Myers

Jason is a Python developer, working as a Software Engineer at Juice Analytics. He wrote an entire book on SQLAlchemy, the well-known Python SQL library (Essential SQLAlchemy (O'Reilly)) He worked on cloud computing platforms, as a Web developer, and as a data engineer.

Alexys Jacob-Monier

Alexys is the CTO of 1000mercis and is part of the open-source software community for a few years now. He regularly gives speeches at Python conferences (PyCon) and talks about how to leverage Python when distributing applications. He writes, maintains and operates highly distributed Python applications.

image

About the Author

Hi, I'm Julien Danjou, a Free Software hacker for close to twenty years now. I wear a lot of different hats in the Open Source community, and maybe you already encountered me or used one of my software. Debian developer for fifteen years, Freedesktop contributor, GNU Emacs committer and the awesome window manager creator are activities I've been doing in my career.

These last ten years, I've been developing software using Python. I already spent six years working on OpenStack, a distributed cloud platform written in Python and the largest existing open-source Python code base (2.5 millions of lines of Python) – where I was both Project Team Leader and Technical Committee Member. Nowadays, I maintain Gnocchi, an open-source distributed time series database.

"A Must Read"

The readers of Scaling Python talk about it better than anyone else.

Get the sample chapter

Not convinced yet? Get the table of contents and read the beginning of the book for free:

image

Pick Your Package

Scaling Python comes in different flavors. Pick the one that suits your needs the best.

The Complete Package

The big deal. Everything you need to learn advanced techniques to write amazing Python code. Include, the ebook, the future updates, all the examples and a Docker pre-loaded with everything you need to run the examples through command line or a Web interface. Plus a license to use with your team. Don't learn alone!

Enterprise Edition

$199
  •   The ebook in PDF, HTML, MOBI and EPUB formats
  •   7 experts interviews
  •   Future editions of the ebook
  •   All code examples ready to run
  •   Docker image with the complete environment to run all the book examples
  •   Web interface to run all the examples as notebook – easy editing and toying
  •   License to share with 10 members of your team
Purchase

The ebook

300 pages of solid advice in PDF, HTML, EPUB and MOBI formats. Read it anywhere. DRM free.

Interviews

Seven interviews with Python experts. They will teach you a few things by sharing their wisdom.

Examples

Ready to be used examples, straight from the book. Replay them as you wish, edit, play, learn!


New Editions

You'll get the new editions of the book as soon as they are released.

Docker Image

A complete Docker image with the right environment (Python 3.6) and all the examples already loaded. Every component used in the book is pre-installed and ready to be used.

Web Interface

All examples of the book are provided in a Web interface as notebooks. You can edit them and replay them directly into your Web browser.


Team License

Share the ebook and all the package contents with your team. Share with up to 10 people so your fellow developers can build great stuff too.

The Best-Seller

The standard package. Everything you need to learn advanced techniques to write amazing Python code. Include, the ebook, the future updates, all the code and a Docker pre-loaded with everything you need to run the examples.

Standard Edition

$89
  •   The ebook in PDF, HTML, MOBI and EPUB formats
  •   7 experts interviews
  •   Future editions of the ebook
  •   All code examples ready to run
  •   Docker image with the complete environment to run all the book examples
Purchase

The ebook

300 pages of solid advice in PDF, HTML, EPUB and MOBI formats. Read it anywhere. DRM free.

Interviews

Seven interviews with Python experts. They will teach you a few things by sharing their wisdom.

Examples

Ready to be used examples, straight from the book. Replay them as you wish, edit, play, learn!


New Editions

You'll get the new editions of the book as soon as they are released.

Docker Image

A complete Docker image with the right environment (Python 3.6) and all the examples already loaded. Every component used in the book is pre-installed and ready to be used.

The Paperback

Just the book, printed on a dead tree and in electronic formats. Learn the advanced techniques to scale Python and get ready to write awesome apps!

(This purchase will go through Lulu, who do not distribute the electronic format. Forward your Lulu receipt to me to get the electronic version.)

Old-School Edition

$49
  •   The book printed in paperback format, delivered to your door
  •   The ebook in PDF, HTML, MOBI and EPUB formats
  •   7 experts interviews
Purchase

The Book

Just the book in electronic version. Learn the advanced techniques to scale Python and get ready to write awesome apps!

Starter Edition

$39
  •   The ebook in PDF, HTML, MOBI and EPUB formats
  •   7 experts interviews
Purchase

Frequently Asked Questions

I bought the paperback version. How do I get the electronic version?

Lulu is not able to do that for me. Therefore once you purchased your paperback copy, forward me your receipt and I'll get you the electronic version.

Is this book about hacking?

You need to read Wikipedia definition of hacker: a hacker is any skilled computer expert that uses their technical knowledge to overcome a problem.
In that sense, it is.


What if the book is not for me?

If you think the book has no value to you, then I don't want your money. Ask me for a refund.

I need a license for more than 10 users.

Let's discuss this over email.


I probably need more than a book. Are you available for consulting?

Let's talk about that over email.


I have another question!

Send me an email.

Ready to Choose Your Package?

Purchase Scaling Python