Re: [zeromq-dev] ZeroMQ cheatsheet

2016-05-16 Thread Axel Voitier
d scatter/gather as well. > > Also we can add another category "thread safe?" > > On Mon, May 16, 2016 at 3:15 PM, Axel Voitier <axel.voit...@gmail.com> > wrote: > >> Hello, >> >> I have put together a cheatsheet about

[zeromq-dev] ZeroMQ cheatsheet

2016-05-16 Thread Axel Voitier
Hello, I have put together a cheatsheet about ZeroMQ sockets: https://docs.google.com/spreadsheets/d/1HEmeXmKxcX7fiWKwlpTQHE_WjnqgzUek91pz4xPsb5w/edit?usp=sharing I extracted the info from the doc and the RFCs. Some cells are still unknown. Please correct if anything is wrong. The intend would

Re: [zeromq-dev] Multi subscribe and single unsubscribe

2016-02-11 Thread Axel Voitier
That is the expected behaviour, yes. Subscriptions are said to be additive and idempotent. That is, if you subscribe twice to the same topic you have to unsubscribe twice to stop receiving it (provided it is not matched by another subscribe). Cheers, Axel -- Contact: axel.voit...@gmail.com

Re: [zeromq-dev] ZMTP 3.0 "Resources". Implemented?

2016-02-10 Thread Axel Voitier
The use case is true (although I don't feel it personally so far). But if its implementation is too complicated in its current form maybe it could be done in another way. Like a kind of muxing-proxy socket that can connect to any kind of sockets on one side (on ipc or inproc most likely are they

Re: [zeromq-dev] Clean shutdown of malamute client zactor in python binding?

2016-02-04 Thread Axel Voitier
Python makes threading sequential, yes. But it can still chops execution of a thread in the middle of a function. Such as a function writing to a shared buffer to be flushed on a zmq socket later. That is how you can end up with messages mixed up if two threads use the same function and/or write

Re: [zeromq-dev] looking for an real app that uses zyre

2016-01-21 Thread Axel Voitier
Hi Jerry, I tried to respond to you in private as you seem to intend to originally ;). But I just received a delivery error notification: DNS Error: 14355 DNS type 'mx' lookup of lagunawayconsulting.com responded with code SERVFAIL Something wrong with the dns of your domain maybe? Sorry to

Re: [zeromq-dev] ZeroMQ for Contiki OS

2016-01-20 Thread Axel Voitier
> Try to create the repo now, it should work. > > Indeed, zmq.c/h is probably a bad filename to use and zmtp.c/h is > better. However I'd probably advise putting the sources into src and > prefixing them all with something like cz_ > > On Wed, Jan 20, 2016 at 5:08 PM, Axel Voit

Re: [zeromq-dev] looking for an real app that uses zyre

2016-01-20 Thread Axel Voitier
Hello, I do in https://github.com/Alidron/alidron-isac/blob/master/transport/pyre_node.py, in a project that serve very similar purposes to what you want to do (haven't yet fully disclosed it though, so it is not yet well documented, sorry ;)). So far I used zyre (pyre actually) not only for

Re: [zeromq-dev] ZeroMQ for Contiki OS

2016-01-20 Thread Axel Voitier
've invited you to the ZeroMQ core team so you can move this project > > (if you approve of this idea). > > > > -Pieter > > > > > > On Wed, Jan 20, 2016 at 11:47 AM, Axel Voitier <axel.voit...@gmail.com> > wrote: > >> Yes, I actually started from l

Re: [zeromq-dev] ZeroMQ for Contiki OS

2016-01-20 Thread Axel Voitier
e. > > > On Wed, Jan 20, 2016 at 4:20 PM, Axel Voitier <axel.voit...@gmail.com> > wrote: > > Hi Pieter, > > > > Neat! :) > > > > Yes, it would be nice if it spawns interest for other embedded targets. > > I am all for the C4.1 policy, and for t

Re: [zeromq-dev] ZeroMQ for Contiki OS

2016-01-20 Thread Axel Voitier
...@protonmail.ch 2016-01-20 9:31 GMT+01:00 Benjamin Henrion <zoo...@gmail.com>: > On Wed, Jan 20, 2016 at 4:01 AM, Axel Voitier <axel.voit...@gmail.com> > wrote: > > Hello, > > > > I have published an attempt at porting zeromq to Contiki OS: > >

[zeromq-dev] ZeroMQ for Contiki OS

2016-01-19 Thread Axel Voitier
Hello, I have published an attempt at porting zeromq to Contiki OS: https://github.com/Alidron/contiki-zeromq It has a few limitations still. However, I covered most basics of ZMTP and a handful of sockets. It is not entirely compliant with the RFCs for the moment though (some parts prove to be

Re: [zeromq-dev] Pre-Alloc only environments

2016-01-18 Thread Axel Voitier
Hello, I am currently implementing part of 0mq for http://www.contiki-os.org/. Contiki offers 3 memory allocation techniques (see here ). So far, I was able to use memb (sort of preallocation) most

[zeromq-dev] Weird whisper messages arriving with Pyre

2015-12-21 Thread Axel Voitier
Hello, I observe an odd behaviour in my application which seems to relate to Pyre whisper messages being malformatted (incomplete and/or mixed). It is still difficult to reproduce as it happens randomly and when having quite some traffic between the two nodes. Here is an example: >

Re: [zeromq-dev] Weird whisper messages arriving with Pyre

2015-12-21 Thread Axel Voitier
Well, no, it can't be the HWM settings. Pyre set them on DEALER and PAIR sockets only, which should be blocking if they get full. Axel 2015-12-21 23:15 GMT+01:00 Axel Voitier <axel.voit...@gmail.com>: > Yes, the unittests pass. > > I kind of solved it by increasing the reg

[zeromq-dev] Implementation of ZeroMQ on a Spark Core (Arduino)

2014-01-27 Thread Axel Voitier
Hello, I am looking to have an implementation of ZeroMQ on a Spark Core (spark.io). These modules are made of STM32 microcontroller (ARM 32bits Cortex M3 @ 72MHz) and a WiFi chip from TI. More info here: http://docs.spark.io/#/hardware. They also run Arduino by default. Despite the scarce