Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for RPC across ZeroMQ #25

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

brotchie
Copy link

Preliminary Haskell support for RPC across ZeroMQ Rep-Req sockets.

This pull request aims to stimulate discussion to find the best approach for abstracting the transport layer from the Haskell msgpack RPC implementation. I do not intend to have this merged as-is into master.

My currently implementation isn't elegant; largely a blatant copy-paste with network conduits replaced with zeromq calls. Perhaps the optimal approach is to write a zeromq conduit such that the RPC server and client is indifferent to the underlying conduit source?

@tanakh
Copy link
Member

tanakh commented Aug 13, 2012

Sorry for late reply. I try to merge it and it works fine. I rewrite server independently to use network-conduit, and allow MonadTrans. And network-conduit's interface (Source -> Sink -> m ()) is seems to be likely to use transport layer's interface. It is simple and flexible. I adopt your patch to this interface. What do you think about it?

SX91 pushed a commit to SX91/msgpack-haskell that referenced this pull request Feb 27, 2017
`cabal sdist` doesn't include bench and test modules.

Fixes msgpack#20
Fixes msgpack#25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants