Related Sites | SpyderMap | Web Portal

Perspective Broker Authentication for Stackless Python

Twisted Matrix’s Perspective Broker is, to me at least, the main compelling reason to use the entire framework. It’s also an area that is lacking in documentation that is usable to a newbie to the framework.
One of the things provided by the Perspective Broker is an authentication framework, based around the concept of an [...]

A quick update…

I planned on having an entry tomorrow showing a more in-depth example of combining Twisted with Stackless python, but it’s taking a little longer than expected to get all the pieces together. The example will be using what is in my opinion the most useful part of Twisted: the Perspective Broker. I [...]

Multi-Threaded Twisted / Stackless Integration

Another way to integrate Twisted with Stackless python, is to use multiple threads. One thread handles Twisted’s reactor while Stackless tasklets run in at least one other thread. This lowers the deterministic nature of Stackless, but for certain conditions may be more effective than trying to integrate Twisted and Stackless into a single [...]

Stackless Python meets Twisted Matrix….

Sometimes, you come across two programming toolkits that would go great together. However, in the case of Twisted Matrix and Stackless python, there’s some legwork required to get these two great systems to work together.
Twisted requires that it’s reactor runs in the main “tasklet”, but if there is no network activity or other deferred [...]