• Stars
    star
    1
  • Language
    Julia
  • License
    Other
  • Created almost 8 years ago
  • Updated almost 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A Julia implementation of MessagePack-RPC Server Library

MessagePack RPC Server for Julia

Build Status

A Julia implementation of MessagePack-RPC Server Library.

Usage

Write some code using MsgPackRpcServer:

import MsgPackRpcServer

module RemoteFunctions
  function add(x, y)
    x+y
  end
end

@async MsgPackRpcServer.run(8080, RemoteFunctions)

and run ruby -r msgpack-rpc -e "p MessagePack::RPC::Client.new('127.0.0.1', 8080).call(:add, 2, 3)" then you will get 5 calculated by Julia.

Limitations

As of v0.0.1, only very basic synchronous rpc call on TCP Socket is implemented. Following features are to be supported in the future.

  • Asynchronous Call
  • Multiple Transports such as UDP, UNIX domain socket
  • High Performance Capability such as single-threaded model or event-driven architecture etc.

License

MIT

Reference