|
|
|
|
|
by shykes
5531 days ago
|
|
DotCloud [1] is built from the ground up around distributed services. We use a custom rpc mechanism called ZeroRPC. It uses ZeroMQ [2] for transport, msgpack [3] for serialization, and some extra glue for RPC mechanics, discovery, event dispatching, etc. Among other neat tricks, it allows us to handle synchronous RPC calls and asynchronous message passing in a unified way. It also maps transparently to any ZeroMQ topology. Combine this with the recent release of gevent support for zeromq [4] and you get a fun, fun playground :) [1] http://www.dotcloud.com [2] http://www.zeromq.org [3] http://msgpack.org [4] https://github.com/zllak/gevent-zeromq |
|