Get started for free

The following is an excerpt from "The Infinite Machine"

I’ve been using the deferred library since I started building python apps on Google App Engine.

That is, I’ve been using it for seven years. And, when I started using it, seven years ago, it was already old.

The library was originally written by Nick Johnson, who hasn’t worked on App Engine (or for Google at all I think) for many years now. The current docs still contain this article written by Nick in 2009:

I met Nick Johnson many years ago at a Google Developer Day in Sydney. He’s a brilliant guy, and a great Python developer. Whatever you’re up to now Nick, thanks for all the great work.

And in the source I see this at the top:

# Copyright 2007 Google Inc. 

But there is one more thing: did you hear about that new deferred library for App Engine?


So it’s not the latest thing. In fact they started writing this code before there were iPhones.

Anyone who’s been following my writing on Python function serialisation and distributed computing on App Engine will have seen that everything I do with tasks ultimately falls back to calls to deferred. Most notably, my previous post showed how you can use yccloudpickle to run any function at all in python in another task; it uses deferred to do the lowest level work...

         Click Here to Read More

Emlyn O'Regan is a Co-Founder and CTO of xapiapps, and the author of "The Infinite Machine"



The LX Designer’s Handbook

A comprehensive guide to the changing world of learning design

Download ebook for free


Get the latest updates by email