Re: [zeromq-dev] partial multipart message?

2011-04-13 Thread Martin Sustrik
Hi Colin, > Yes, I wrote this pub/sub gist to demonstrate: https://gist.github.com/918471 > > Again, this is with 0MQ 2.1.3, JRuby 1.6.0, FFI ruby bindings ffi-rzmq > (0.7.2) on OSX. I've created a ticket for the problem: https://github.com/zeromq/libzmq/issues/191 Martin __

[zeromq-dev] ZeroMQ, jzmq, and J2EE

2011-04-13 Thread Joshua Foster
Has anyone had success using zeromq in a J2EE application? Joshua ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Re: [zeromq-dev] newbie helloworld Help

2011-04-13 Thread Ng Teng Jie
Hi,    Thanks, I got it! Its the bind/connect that I mixed up. tj --- On Wed, 13/4/11, Ian Barber wrote: From: Ian Barber Subject: Re: [zeromq-dev] newbie helloworld Help To: "ZeroMQ development list" Date: Wednesday, 13 April, 2011, 6:11 PM On Wed, Apr 13, 2011 at 10:57 AM, Ng Teng Jie wr

[zeromq-dev] windows easy_install error

2011-04-13 Thread 机械唯物主义 : linjunhalida
hello, I'm installing zeromq under windows, I use python2.6 (pythonxy), and I run: c:> easy_install pyzmq Searching for pyzmq Best match: pyzmq 2.1.4 Processing pyzmq-2.1.4-py2.6-win32.egg pyzmq 2.1.4 is already the active version in easy-install.pth Using c:\python26\lib\site-packages\pyzmq-2.1

Re: [zeromq-dev] partial multipart message?

2011-04-13 Thread Colin Surprenant
Hi, Yes, I wrote this pub/sub gist to demonstrate: https://gist.github.com/918471 Again, this is with 0MQ 2.1.3, JRuby 1.6.0, FFI ruby bindings ffi-rzmq (0.7.2) on OSX. Colin On Wed, Apr 13, 2011 at 4:09 PM, Martin Sustrik wrote: > Hi Colin, > >> I am using 0mq 2.1.3 with the FFI ruby bindings

Re: [zeromq-dev] partial multipart message?

2011-04-13 Thread Martin Sustrik
Hi Colin, > I am using 0mq 2.1.3 with the FFI ruby bindings ffi-rzmq (0.7.2) with > JRuby 1.6.0. > > When doing some stress testing using PUB/SUB sockets with multipart > (3) messages at different watermark levels and message rates I > encountered a situation, at high rate and low watermark, where

[zeromq-dev] partial multipart message?

2011-04-13 Thread Colin Surprenant
Hi, I am using 0mq 2.1.3 with the FFI ruby bindings ffi-rzmq (0.7.2) with JRuby 1.6.0. When doing some stress testing using PUB/SUB sockets with multipart (3) messages at different watermark levels and message rates I encountered a situation, at high rate and low watermark, where not only some me

Re: [zeromq-dev] Important: backward incompatible changes for 0MQ/3.0!

2011-04-13 Thread Vitaly Mayatskikh
At Mon, 21 Mar 2011 16:57:53 +0100, Martin Sustrik wrote: > 3. In parallel, binding maintainers can start making bindings work with > 3.0. To minimise the work we can possibly deliver a compatibility header > that translates 2.x.x-style calls to 3.x.x-style calls. Unfortunately, > there's not m

Re: [zeromq-dev] pyzmq Windows binaries

2011-04-13 Thread Min RK
It was entirely an accident, due to my lack of experience on Windows. I will push replacements, later today. Thanks! -MinRK On Apr 13, 2011, at 7:06, Ben James wrote: > Hi, > > I recently found that there are Windows installers for pyzmq at > https://github.com/zeromq/pyzmq/downloads - this

[zeromq-dev] pyzmq Windows binaries

2011-04-13 Thread Ben James
Hi, I recently found that there are Windows installers for pyzmq at https://github.com/zeromq/pyzmq/downloads - this is really useful! I used pyzmq-2.1.4.win32-py2.7.msi and found that the libzmq DLL which is packaged with this seems to be a debug build, which means that I still need to have Visu

Re: [zeromq-dev] Improving message patterns

2011-04-13 Thread Martin Sustrik
Hi Marko, > The application could simply bind several zeromq sockets on the same > ip/port, providing that they have different 'virtual hosts', and zmq > will attach new connections > to the correct sockets after reading the 'vhost' label in the first frame. > > Sorry, perhaps I entered late in th

Re: [zeromq-dev] Using zmq for a chat server protocol

2011-04-13 Thread Pieter Hintjens
On Tue, Apr 12, 2011 at 9:32 PM, Dan Ellis wrote: > I'm re-posting this here, because the IRC channel is very quiet. Easter holidays, at least in some parts of the world... > I was thinking zmq would be an excellent protocol to build upon for a > chat server... For sure. > I could have the au

Re: [zeromq-dev] Improving message patterns

2011-04-13 Thread Marko Mikulicic
On 13 April 2011 09:44, Martin Sustrik wrote: > On 04/13/2011 09:26 AM, Martin Sustrik wrote: > > > Ah, I should have said IP+DNS rather than just IP. Sorry. > > I would suggest looking at the design of HTTP, which is pretty similar > to the "send-to-address" pattern we are discussing. > > HTTP i

Re: [zeromq-dev] Windows and IOCP

2011-04-13 Thread Martin Sustrik
Hi Tore, > Are there any plans to use IOCP for tcp connections on windows? Yes. It was discussed many times (search the mailing list archive for IOCP) and couple people even gave implementation a try. But, somehow, it haven't materialised so far. Martin ___

Re: [zeromq-dev] newbie helloworld Help

2011-04-13 Thread Ian Barber
On Wed, Apr 13, 2011 at 10:57 AM, Ng Teng Jie wrote: > Pardon this newbie, I cannot get the sample hello world server/client to > work. > > I am suspecting that I need to open the port through "iptables" in > ubuntu? Is that right? Code in C is used as in the documentation. > > Thanks for any

[zeromq-dev] Windows and IOCP

2011-04-13 Thread Tore Halvorsen
Hi, Are there any plans to use IOCP for tcp connections on windows? -- Eld på åren og sol på eng gjer mannen fegen og fjåg. [Jøtul] 2011 Tore Halvorsen || +052 0553034554 ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/

[zeromq-dev] newbie helloworld Help

2011-04-13 Thread Ng Teng Jie
Pardon this newbie, I cannot get the sample hello world server/client to work. I am suspecting that I need to open the port through "iptables" in ubuntu? Is that right? Code in C is used as in the documentation. Thanks for any help! :) ___ zeromq

[zeromq-dev] [PATCH] Minor cleanup of preprocessor definitions for OpenPGM

2011-04-13 Thread Martin Sustrik
>From 5444064c1a195daee5e57eb996157393a4eed796 Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Wed, 13 Apr 2011 10:33:54 +0200 Subject: [PATCH] Minor cleanup of preprocessor definitions for OpenPGM Signed-off-by: Martin Sustrik --- src/pgm_socket.hpp |2 +- 1 files changed, 1 insertion

[zeromq-dev] [PATCH] MSVC build fixed to reflect zmq.cpp split

2011-04-13 Thread Martin Sustrik
>From 933ace0919974628c8ac2f9ada67645fdf4c80e2 Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Wed, 13 Apr 2011 10:06:44 +0200 Subject: [PATCH] MSVC build fixed to reflect zmq.cpp split Signed-off-by: Martin Sustrik --- builds/msvc/libzmq/libzmq.vcproj | 10 +- 1 files changed, 9

Re: [zeromq-dev] Improving message patterns

2011-04-13 Thread Martin Sustrik
On 04/13/2011 09:26 AM, Martin Sustrik wrote: > Ah, I should have said IP+DNS rather than just IP. Sorry. I would suggest looking at the design of HTTP, which is pretty similar to the "send-to-address" pattern we are discussing. HTTP is successful because it doesn't try to reinvent the wheel. I

Re: [zeromq-dev] Improving message patterns

2011-04-13 Thread Martin Sustrik
On 04/13/2011 08:53 AM, Paul Colomiets wrote: > Yes, you can say that this is covered by IP. But isn't what covered by IP is > also covered by ethernet? IP solves a well defined problem: How to integrate arbitrary amount of Ethernets into a single addressable network. We need a similar definiti