[zeromq-dev] Socket startpoint

2014-05-04 Thread Garrett Smith
Has there been any movement on this thread? http://grokbase.com/t/zeromq/zeromq-dev/13a5szhz7h/tcp-source-port I'm running into a similar firewall issue. I'm not spotting it in the API docs, but may be missing the right fork/lineage - is it possible to specify a local connect port via the API?

Re: [zeromq-dev] Socket startpoint

2014-05-04 Thread Garrett Smith
PM, Garrett Smith g...@rre.tt wrote: Has there been any movement on this thread? http://grokbase.com/t/zeromq/zeromq-dev/13a5szhz7h/tcp-source-port I'm running into a similar firewall issue. I'm not spotting it in the API docs, but may be missing the right fork/lineage - is it possible

[zeromq-dev] Missing zsocket_sendmem in zocket.h

2014-03-06 Thread Garrett Smith
This was a sad say when zsocket_sendmem was removed from zsocket.h: https://github.com/zeromq/czmq/commit/e29b3088b6c132f97c7c48ad09fc2f5be33c8be3 Is this function no longer supported? The docs still mention it -- and, it's very nice :) Garrett ___

[zeromq-dev] CZMQ language bindings

2014-01-15 Thread Garrett Smith
Is there a list of CZMQ language bindings published somewhere? Please feel free to send me a Let Me Google That For You link -- I love that thing! Garrett ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org

Re: [zeromq-dev] CZMQ language bindings

2014-01-15 Thread Garrett Smith
/bindings:_start On Wed, Jan 15, 2014 at 9:03 PM, Garrett Smith g...@rre.tt wrote: Is there a list of CZMQ language bindings published somewhere? Please feel free to send me a Let Me Google That For You link -- I love that thing! Garrett

Re: [zeromq-dev] CZMQ language bindings

2014-01-15 Thread Garrett Smith
Lisp * https://github.com/fmp88/ocaml-czmq - Ocaml * https://github.com/gar1t/erlang-czmq - Erlang (yours! :) * https://github.com/mtortonesi/ruby-czmq-ffi - Ruby FFI I'll add that to the CZMQ README. -Pieter On Wed, Jan 15, 2014 at 8:17 PM, Garrett Smith g...@rre.tt wrote: I'm looking

Re: [zeromq-dev] CZMQ language bindings

2014-01-15 Thread Garrett Smith
Site's not live yet -- I'll post as soon as it's finalized. On Wed, Jan 15, 2014 at 4:40 PM, Michel Pelletier pelletier.mic...@gmail.com wrote: Gotta link? On Wed, Jan 15, 2014 at 1:57 PM, Garrett Smith g...@rre.tt wrote: Rock on! CZMQ is going to get some love at the San Fran Erlang

Re: [zeromq-dev] CZMQ language bindings

2014-01-15 Thread Garrett Smith
was hoping it wasn't this: http://www.erlang-factory.com/conference/show/conference-6/home/ $1100! -Michel On Wed, Jan 15, 2014 at 2:51 PM, Garrett Smith g...@rre.tt wrote: Site's not live yet -- I'll post as soon as it's finalized. On Wed, Jan 15, 2014 at 4:40 PM, Michel Pelletier

Re: [zeromq-dev] make check failure

2013-12-21 Thread Garrett Smith
I'm seeing the exact same set of test failures on this platform: FreeBSD 9.2-RELEASE amd64 gcc version 4.2.1 20070831 patched [FreeBSD] This is the stock 9.2 FreeBSD gcc, the version the original settlers from Norway used back in 1992. Very reliable. I'll see what a more current version yields.

Re: [zeromq-dev] Blocking after 2000 sent messages

2013-12-19 Thread Garrett Smith
On Thu, Dec 19, 2013 at 2:06 AM, Pieter Hintjens p...@imatix.com wrote: On Thu, Dec 19, 2013 at 2:18 AM, Garrett Smith g...@rre.tt wrote: Damn, I somehow knew this was going to be a read the docs answer: Hey Garrett, Nice to see you diving into ZeroMQ for real! Ahem, CloudBees has been

[zeromq-dev] Blocking after 2000 sent messages

2013-12-18 Thread Garrett Smith
I'm using czmq. This code: zctx_t *ctx = zctx_new (); void *output = zsocket_new (ctx, ZMQ_PAIR); zsocket_bind (output, inproc://zstr.test); void *input = zsocket_new (ctx, ZMQ_PAIR); zsocket_connect (input, inproc://zstr.test); int i; for (i = 0; i 3000; i++) {

Re: [zeromq-dev] Blocking after 2000 sent messages

2013-12-18 Thread Garrett Smith
the send hwm to 0. On Dec 19, 2013 5:20 AM, Garrett Smith g...@rre.tt wrote: I'm using czmq. This code: zctx_t *ctx = zctx_new (); void *output = zsocket_new (ctx, ZMQ_PAIR); zsocket_bind (output, inproc://zstr.test); void *input = zsocket_new (ctx, ZMQ_PAIR

Re: [zeromq-dev] Blocking after 2000 sent messages

2013-12-18 Thread Garrett Smith
infinite hwm behaviour. Setting either to 0 is sufficient. The logic is in socket_base.cpp. On Thu, Dec 19, 2013 at 7:09 AM, Garrett Smith g...@rre.tt wrote: I omitted these details, I actually have this brutally set: zsocket_set_sndhwm(output, 0); zsocket_set_rcvhwm(output, 0

Re: [zeromq-dev] Blocking after 2000 sent messages

2013-12-18 Thread Garrett Smith
) and rcvhwm (of input) to 0 in order to get infinite hwm behaviour. Setting either to 0 is sufficient. The logic is in socket_base.cpp. On Thu, Dec 19, 2013 at 7:09 AM, Garrett Smith g...@rre.tt wrote: I omitted these details, I actually have this brutally set: zsocket_set_sndhwm(output, 0

Re: [zeromq-dev] Sniffing connections

2013-04-12 Thread Garrett Smith
...@di.uminho.pt wrote: On 2013-04-10 18:12, Garrett Smith wrote: It's come to the point that I want to become very intimate with 0MQ connections. I'd usually use tcpdump and watch port traffic but at the TCP level, I'm guessing I won't learn much. Does anyone have some helpful tips

[zeromq-dev] Sniffing connections

2013-04-10 Thread Garrett Smith
It's come to the point that I want to become very intimate with 0MQ connections. I'd usually use tcpdump and watch port traffic but at the TCP level, I'm guessing I won't learn much. Does anyone have some helpful tips to start this process? Garrett ___

[zeromq-dev] ESTABLISHED connection mismatch

2013-04-09 Thread Garrett Smith
I don't know if this is a 0MQ question or a general networking question. I know that I'm confused. I'm troubleshooting some message delivery problems and I've run across this scenario: The ESTABLISHED tcp connections on one server don't match the corresponding connections on the other server.

Re: [zeromq-dev] ESTABLISHED connection mismatch

2013-04-09 Thread Garrett Smith
, 2013 at 9:36 AM, Garrett Smith g...@rre.tt wrote: I don't know if this is a 0MQ question or a general networking question. I know that I'm confused. I'm troubleshooting some message delivery problems and I've run across this scenario: The ESTABLISHED tcp connections on one server don't

Re: [zeromq-dev] Is it possible to get deadlocks in ZeroMQ applications?

2013-04-08 Thread Garrett Smith
On Mon, Apr 8, 2013 at 11:52 AM, A. Mark gougol...@gmail.com wrote: Yes I agree, I've not had a single deadlock in a classic sense since using message queues. But this statement is like saying I've hand not a car accident since I've been riding a bike. You can still lock up your code but it

Re: [zeromq-dev] Pull request to retire devices and replace with proxies

2012-09-08 Thread Garrett Smith
I always read device as a higher level interface that's so fundamental it's provided as a reusable black box. So, a very commonly used specific type of proxy. Proxy is so generic that it might erode this more specific meaning, if in fact I have that right. If I'm wrong, then by definition

[zeromq-dev] Message delivery and DoS

2012-05-31 Thread Garrett Smith
Given that multi-part messages are delivered atomically: ØMQ ensures atomic delivery of messages; peers shall receive either all message parts of a message or none at all. Is it possible with 0MQ to ever prevent DoS from attackers flooding a socket with message parts? I'd like a scheme that I

Re: [zeromq-dev] 2.1.8?

2011-08-29 Thread Garrett Smith
On Mon, Aug 29, 2011 at 10:13 AM, Pieter Hintjens p...@imatix.com wrote: I'm not sure schedules are useful since we are always on a curve (more releases when a branch is immature, fewer as it matures). But in general we release when there've been a reasonable number of fixes and changes.

Re: [zeromq-dev] recovering from an unanswered reply

2011-08-23 Thread Garrett Smith
On Sat, Aug 20, 2011 at 12:08 PM, Pieter Hintjens p...@imatix.com wrote: General advice would be never design anything that's not a precise minimal answer to a problem you can identify and have to solve. This needs to be on a bumper sticker. ___

[zeromq-dev] Persistent queues

2011-06-28 Thread Garrett Smith
I recently saw a comment from Pieter about phasing out persistent queues. Assuming I got that right, could someone elaborate a bit, or point me to a thread? Garrett ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org

Re: [zeromq-dev] Persistent queues

2011-06-28 Thread Garrett Smith
Hi Pieter, The comment was about phasing out durable sockets. The socket queues are not really message queues Heh, I was surprise I had used persistent queues -- that other messaging scheme is dying a hard death for me. For durable pubsub, we've got the Clone pattern (see Ch5 of the Guide).

Re: [zeromq-dev] Building the guide

2011-06-09 Thread Garrett Smith
On Wed, Jun 8, 2011 at 11:50 PM, Pieter Hintjens p...@imatix.com wrote: The only case I've seen where a translation did not 'work' was when someone renamed the source files. As long as you stick to the same filenames for each example (changing only the extension), it'll all work. I'm using

[zeromq-dev] Building the guide

2011-06-08 Thread Garrett Smith
I'm updating some of the Erlang example and I'd like to check everything by building the guide before submitting any pull requests. What's the most direct way to generate the guide as HTML? Thanks, Garrett ___ zeromq-dev mailing list

[zeromq-dev] Guide examples source

2011-06-07 Thread Garrett Smith
Is the source code the various language examples used in the guide in a generally accessible repo? Garrett ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Re: [zeromq-dev] Status on PUB side filtering

2011-06-07 Thread Garrett Smith
On Fri, Jun 3, 2011 at 4:18 PM, Pieter Hintjens p...@imatix.com wrote: On Fri, Jun 3, 2011 at 2:15 PM, Garrett Smith g...@rre.tt wrote: I'm not following this. DEALER looks like it uses fair queuing, which would distribute messages across subscribers in round robin fashion rather than

Re: [zeromq-dev] Guide examples source

2011-06-07 Thread Garrett Smith
On Tue, Jun 7, 2011 at 2:14 PM, Pieter Hintjens p...@imatix.com wrote: On Tue, Jun 7, 2011 at 8:56 PM, Garrett Smith g...@rre.tt wrote: Is the source code the various language examples used in the guide in a generally accessible repo? I'm not sure how you missed this, there's a large button

[zeromq-dev] Status on PUB side filtering

2011-06-03 Thread Garrett Smith
I'm following up on this post from about a year ago: http://lists.zeromq.org/pipermail/zeromq-dev/2010-July/004705.html I'm working on migrating away from AMQP to using 0MQ. We make extensive use of topic exchanges to route message to various subscribers. My intention is to build something

Re: [zeromq-dev] Status on PUB side filtering

2011-06-03 Thread Garrett Smith
On Fri, Jun 3, 2011 at 3:04 PM, Pieter Hintjens p...@imatix.com wrote: On Fri, Jun 3, 2011 at 12:55 PM, Garrett Smith g...@rre.tt wrote: At first blush, publish side filtering in 0MQ would address my use case nicely. I realize the performance and complexity implications of that model make

[zeromq-dev] Publish/collect pattern

2011-02-23 Thread Garrett Smith
In The Guide, under Node Coordination, there's an example of using a PUB/SUB channel for messages to a set of workers and REQ/REP channel for replies by the workers back to the coordinator. It seems the workers could also use PUSH/PULL to send messages back to the coordinator. I'm looking to do

Re: [zeromq-dev] Receive messages in erlzmq

2011-02-23 Thread Garrett Smith
On Wed, Feb 23, 2011 at 1:14 AM, Garrett Smith g...@rre.tt wrote: On Wed, Feb 23, 2011 at 12:51 AM, Ian Barber ian.bar...@gmail.com wrote: On Wed, Feb 23, 2011 at 6:43 AM, Garrett Smith g...@rre.tt wrote: 2. How would one handle multipart messages? It's not clear to me how I'd differentiate

[zeromq-dev] Receive messages in erlzmq

2011-02-22 Thread Garrett Smith
I have a couple questions about the messages delivered to an Erlang process message queue in erlzmq: 1. What's the integer N in {zmq, N, Msg}? 2. How would one handle multipart messages? It's not clear to me how I'd differentiate between a message part and a single part message or last-part.

Re: [zeromq-dev] Receive messages in erlzmq

2011-02-22 Thread Garrett Smith
On Wed, Feb 23, 2011 at 12:51 AM, Ian Barber ian.bar...@gmail.com wrote: On Wed, Feb 23, 2011 at 6:43 AM, Garrett Smith g...@rre.tt wrote: 2. How would one handle multipart messages? It's not clear to me how I'd differentiate between a message part and a single part message or last-part