Distributed python

What is the best python framework for building distributed applications? For example, to create a P2P application.

+6
python distributed
source share
5 answers

You can check the pyprocessing , which will be included in the standard library version 2.6. It allows you to run tasks across multiple processes using an API similar to using threads.

+2
source share

I think you mean Network Applications? Distributed means an application that can share the load between multiple client clients over the network.

You probably want to. Twisted

+9
source share

You probably want Twisted . There is a P2P framework for Twisted called Vertex . Although it is not actively supported, it allows you to tunnel through NAT and establish connections directly between users in a very abstract way; if there was interest in this kind of thing, I’m sure it will be more actively supported .

+3
source share

You can download the BitTorrent source for starters and see how they did it.

http://download.bittorrent.com/dl/

+1
source share

If you need a ton of threads and need better concurrent performance, check out Stackless Python . Otherwise, you can simply use SOAP or XML-RPC . In response to Ben’s message, if you don’t want to view the source of BitTorrent, you can just take a look at the BitTorrent protocol article.

+1
source share

All Articles