Re: [zeromq-dev] zmq architecture/protocol planning

2018-06-27 Thread Michal Vyskocil
Hi James, thanks for the answer. You're right, Python bindings for zyre are automatically generated stubs for calling C directly. Those can be integrated to async python but one must do it manually. The main reason I wrote about zyre is that the protocol is already defined and can be learned

Re: [zeromq-dev] zmq architecture/protocol planning

2018-06-26 Thread James Addison
On Tue, Jun 26, 2018 at 1:42 PM Michal Vyskocil wrote: > Zyre, it supports discovery and reliable group messaging without a broker. > https://github.com/zeromq/zyre/blob/master/README.md#scope-and-goals > > Malamute,the zeromq broker. It provides pub/sub, request/reply and service >

Re: [zeromq-dev] zmq architecture/protocol planning

2018-06-26 Thread Michal Vyskocil
partial subject of the caches they are interested in >>>> + Consumers parse the incoming json's, decide best cache and connect to >>>> it directly (bypassing the proxy). >>>> >>>> This system works between the DC and cloud (AWS). I also have a sys

Re: [zeromq-dev] zmq architecture/protocol planning

2018-06-25 Thread James Addison
gt;>> prefix partial subject of the caches they are interested in >>> + Consumers parse the incoming json's, decide best cache and connect to >>> it directly (bypassing the proxy). >>> >>> This system works between the DC and cloud (AWS). I also have a syste

Re: [zeromq-dev] zmq architecture/protocol planning

2018-06-25 Thread James Harvey
org>> On Behalf Of Bill Torpey Sent: 23 June 2018 21:29 To: ZeroMQ development list mailto:zeromq-dev@lists.zeromq.org>> Subject: Re: [zeromq-dev] zmq architecture/protocol planning Hi James: I’m doing something similar on the service discovery end, but it’s a work in progress, so t

Re: [zeromq-dev] zmq architecture/protocol planning

2018-06-25 Thread James Addison
UB have to filter on the SUB >> side) and you need a mcast capable network. >> >> James Harvey >> >> >> From: zeromq-dev On Behalf Of Bill >> Torpey >> Sent: 23 June 2018 21:29 >> To: ZeroMQ development list >> Subject: Re: [zeromq-dev]

Re: [zeromq-dev] zmq architecture/protocol planning

2018-06-25 Thread James Harvey
mailto:zeromq-dev@lists.zeromq.org>> Subject: Re: [zeromq-dev] zmq architecture/protocol planning Hi James: I’m doing something similar on the service discovery end, but it’s a work in progress, so take this with the appropriate amount of salt ;-) It seems a good idea to minimize state as much

Re: [zeromq-dev] zmq architecture/protocol planning

2018-06-25 Thread James Addison
info. This is nice as there is no single point of failure but you > have more discovery traffic (as mcast PUB/SUB have to filter on the SUB > side) and you need a mcast capable network. > > James Harvey > > > From: zeromq-dev On Behalf Of Bill > Torpey > Sent: 23 June 20

Re: [zeromq-dev] zmq architecture/protocol planning

2018-06-25 Thread James Addison
Thanks for the detailed response, Bill. You've raised many interesting approaches/ideas in here for me to look into - I appreciate it. On Sat, Jun 23, 2018 at 1:30 PM Bill Torpey wrote: > Hi James: > > I’m doing something similar on the service discovery end, but it’s a work > in progress, so

Re: [zeromq-dev] zmq architecture/protocol planning

2018-06-25 Thread James Harvey
have more discovery traffic (as mcast PUB/SUB have to filter on the SUB side) and you need a mcast capable network. James Harvey From: zeromq-dev On Behalf Of Bill Torpey Sent: 23 June 2018 21:29 To: ZeroMQ development list Subject: Re: [zeromq-dev] zmq architecture/protocol planning Hi

Re: [zeromq-dev] zmq architecture/protocol planning

2018-06-23 Thread Bill Torpey
Hi James: I’m doing something similar on the service discovery end, but it’s a work in progress, so take this with the appropriate amount of salt ;-) It seems a good idea to minimize state as much as possible, especially distributed state, so I have so far avoided the central “registrar”,

[zeromq-dev] zmq architecture/protocol planning

2018-06-22 Thread James Addison
Looking for a little guidance/advice on ZMQ implementation. The following demonstrates the simplistic architecture that I'm considering. It doesn't take into consideration redundancy, load balancing at all levels (yet). The general flow of request/response traffic would be: -> HTTP request from