Enter JPC
jpc is a fast Python JSON RPC package, partially compliant with JSON-RPC version 1 - http://code.google.com/p/python-jpc/
I started jpc trying to figure out why an existing Python RPC package was slow and before long I found myself hacking at a new package.
On my 2.4GHz Core 2 Duo laptop it can start/end 4000 new local TCP connections, handle 13,000 local RPC calls and 40,000 JSON-RPC notifications per second per process. Here is an example:
# Serve a method to clients
class MyHandler(jpc.BaseHandler):
def echo(self, str):
return str
jpc.start_server(host='localhost', port=50000, handler=MyHandler)
# Call a method on server
c = jpc.connect(host='localhost', port=50000)
jpc.Proxy(c).echo('Hello, world!')
Winpdb - A Platform Independent Python Debugger