[Twisted-web] Ampoule vs PerspectiveBroker

Johan Rydberg johan.rydberg at edgeware.tv
Sat Oct 15 12:36:46 EDT 2011


On 10/13/11 7:01 PM, Glyph wrote:
> On Oct 13, 2011, at 11:41 AM, Jacek Furmankiewicz wrote:
>
>    
>> Which is the recommended way for interprocess communication these days?
>>
>> Is it the existing PerspectiveBroker or Ampoule (which uses AMP as the underlying RPC protocol)?
>> Are there drawbacks/benefits to either of them?
>>      
> Bottom line: you should try AMP first, and if you find it's too tedious, maybe give PB a shot and see if it simplifies your protocol code.
>    
I also recomment that you look at JSON-RPC:

    https://github.com/bbqsrc/txjsonrpc

We've had a lot of success with jsonrpc, and prefer it to AMP.

-Johan




More information about the Twisted-web mailing list