JuliaWebAPI.jl icon indicating copy to clipboard operation
JuliaWebAPI.jl copied to clipboard

Wishlist: multiple executors

Open aviks opened this issue 10 years ago • 6 comments

My number one wishlist for this is the ability to have a single ZMQ listener, dispatching the method call accross multiple julia processes. So maybe round robin, but dropping processes that hang.

aviks avatar Dec 29 '14 12:12 aviks

@tanmaykm says that this is already possible with the power of ZMQ. Would you please document this, possibly with an example?

aviks avatar Jan 13 '16 20:01 aviks

@aviks sure. The JuliaBox API implementation uses this under the hood. Isolating it out would make a good example.

tanmaykm avatar Jan 14 '16 05:01 tanmaykm

@tanmaykm @aviks would it be possible to add this example to the README? This would be really helpful

mcmcgrath13 avatar Nov 13 '18 22:11 mcmcgrath13

Here's one implementation over message queues: https://github.com/tanmaykm/JuliaWebAPIPlugins.jl It needs to be ported for Julia 1.0 though.

Yes, it will be good to document a simple example in the README. Hoping to get some time after a couple of weeks.

tanmaykm avatar Nov 14 '18 02:11 tanmaykm

@tanmaykm thanks!

mcmcgrath13 avatar Nov 14 '18 20:11 mcmcgrath13

@aviks commented on Jan 13, 2016, 11:52 PM GMT+3:30:

@tanmaykm says that this is already possible with the power of ZMQ. Would you please document this, possibly with an example?

I vaguely remember that this was easy. Take a look at the zmq Python guide, it's concise and very useful.

NightMachinery avatar Aug 12 '20 18:08 NightMachinery