Archives Dec. 16, 2005

Dipping a toe into pb connection pooling (Brr, these pools get cold in the Canadian autumn...)


Okay, this is a hack written in the middle of the night, so expect there to be problems, but it does seem to basically work. What it is is a collection of three object types.

The first, the ConnectionStats, is a simple utility object that tracks statistics and the semaphor used to throttle the number ...

Continue reading

PB connection pooling eludes me (Sigh)


It really seems there should be something in Twisted that does something along these lines, but I can't find anything quite right:

Create and monitor a pool of pb (twisted.spread) connections (this is to spread a CPU-intensive operation across many servers)

On disconnect or connect failure, do retries (forever), but with scaling frequency (i.e. if ...

Continue reading

Previous day

Dec. 15, 2005

Next day

Dec. 17, 2005

Archives