[zeromq-dev] Design problem of distributed environment
Wes Young
wes at barely3am.com
Thu Nov 16 15:47:57 CET 2017
i’m not quite sure on the current status of pyre- iirc it’s a “pure python” implementation of zyre which doesn’t use the zyre/czmq libraries. seems like there have been some recent commits, so it appears still active.. just not sure.
we’ve been developing another version (that’s becoming moderately stable, slowly but surely):
https://github.com/wesyoung/pyzyre
but with the caveat that you have to really understand how to build- and install the czmq and zyre C libs (pyzyre tries to do some of this for you, but it’s not very user friendly at the moment).
if you do get your hands dirty (i don’t recommend this as a new user; just citing it as examples); you can see some of the ways we’ve been testing this “thin python layer on top of C”:
https://github.com/wesyoung/pyzyre/blob/master/pyzyre/gateway.py
https://github.com/wesyoung/pyzyre/blob/master/pyzyre/client.py
https://github.com/wesyoung/pyzyre/blob/master/pyzyre/broker.py
but it’s probably overkill for what you’re trying to do as a prototype (the nuances between the libs are still not 100% flushed out or even in stable releases). getting zeromq/pyre (pure python) working on the LAN via udp beacons is probably your best bet in understanding zyre- then if you need to do other things (like crypto or gossip or..) working your way down to the C level when you have more time to pull this off may be worth the effort...
> On Nov 15, 2017, at 2:14 PM, Matej Puk <puk.matej at gmail.com> wrote:
>
> I am trying to implement some simple example using pyre but with no luck so far. Do you have any experience with pyre or zyre?
--
wes
wesyoung.me
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 235 bytes
Desc: Message signed with OpenPGP
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20171116/efe245e2/attachment.sig>
More information about the zeromq-dev
mailing list