Add to Technorati Favorites

Archive for June, 2011

A resizable dispatch queue for Twisted

Monday, June 27th, 2011 Posted under deferreds, python, tech, twisted. | Comments Off on A resizable dispatch queue for Twisted

In December 2009 I posted to the Twisted mailing list about what I called a Resizable Dispatch Queue. I've just spent some time making a new version that's much ... Read more..

Back of the envelope calculations with The Rule of 72

Monday, June 20th, 2011 Posted under other, tech. | 6 Comments »

[caption id="attachment_815" align="alignright" width="225" caption="Image: internetworldstats.com"][/caption]The Rule of 72 deserves to be better known among technical people. It's a widely-known financial rule of thumb used for understanding and calculating interest ... Read more..

How to asynchronously exchange a dictionary using Twisted deferreds

Friday, June 10th, 2011 Posted under deferreds, python, twisted. | Comments Off on How to asynchronously exchange a dictionary using Twisted deferreds

Here's a fun class that I can't think of a good use for :-) But I like its simplicity and it's another illustration of what I like to call ... Read more..

Graceful shutdown of a Twisted service with outstanding deferreds

Friday, June 10th, 2011 Posted under deferreds, python, twisted. | 4 Comments »

I've been spending a bit of time thinking again about queues and services. I wrote a Twisted class in 2009 to maintain a resizable dispatch queue (code in Launchpad, description ... Read more..