[Twisted-Python] Seeking advice on use of Perspective Broker

David Ripton dripton at ripton.net
Fri Sep 18 10:52:22 EDT 2009

On 2009.09.17 17:39:17 -0500, Arthur Pemberton wrote:
> On Thu, Sep 17, 2009 at 2:09 PM, Brett Sheffield <brett at gladserv.com> wrote:
> > Arthur Pemberton wrote:
> >>  1) Is the Twisted Matrix book published by Orielly relevant ie. updated enough?
> >
> > Yes.  I just read it and it has excellent Perspective Broker examples in
> > chapters 5 & 6 which got me to a flying start recently.   Obviously
> > you'll want to read the online docs too.
> >
> > It doesn't cover twisted.web and nevoew very well because the API was
> > still shifting about then, but the rest seems pretty good.  It was
> > published in 2006.
> I know it was published in 2006, but 3 years can be a long time in the
> computing industry, but you've convinced me that its worth a ready. Is

PB has changed very little lately.  My PB-using project started in 2003.
The last time I remember changing something to sync with a Twisted
change was in late 2003, when I switched my from using the old cred API
to the new cred API.  Since then it's been 100% boringly
backward-compatible.  If you want stable documentation and the most
examples and a very strong likelihood that the API won't change
underneath you, PB is your best Twisted RPC option.

(Other Twisted RPC options include AMP, Foolscap, and txprotobuf.  I
recommend learning PB first because it has the most examples and docs so
it's the easiest to learn.  If you end up using one of the others to get
better security or portability or whatever, it'll be pretty easy to
learn because the Twisted fundamentals carry over.)

David Ripton    dripton at ripton.net

More information about the Twisted-Python mailing list