[zeromq-dev] JZMQ Windows Instructions

2014-02-13 Thread Jörg Specht
Hello ZMQ staff, I think the JZMQ binding documentation for Windows needs some work, as it just took me 4 hours to get ZMQ up and running on Windows, even though I already had it working on Linux. At least the following point needs to be rewritten or updated: Note that ØMQ and JDK header

Re: [zeromq-dev] Protocol Plugins

2014-02-13 Thread Pieter Hintjens
On Wed, Feb 12, 2014 at 3:05 AM, Lyle Thompson lthomp...@ixiacom.com wrote: I guess nobody is interested in pluggable protocols. Thanks anyway. Making pluggable protocols in the core library is just a very hard thing. It would require some major redesigns. People have added transports, and

Re: [zeromq-dev] CAN Bus

2014-02-13 Thread Goswin von Brederlow
On Wed, Feb 12, 2014 at 10:05:43AM -, Florian Pichlmeier wrote: Hello, so far i have been using zeromq in some small pet projects, but have not yet worked directly on the library. In some other project there is the need to communicate over the CAN bus, everything on Linux. I was

[zeromq-dev] Sandstorm: 55 Gbps at 72% load

2014-02-13 Thread Steven McCoy
This might be of interest, if rather hilarious as an implementation of anything. Basically a static content webserver that stores content as a tcpdump and just replays the packets bypassing any serious CPU effort.

Re: [zeromq-dev] What differentiates connected peers on a ZMTP point of view ?

2014-02-13 Thread Laurent Alebarde
I have finally managed to proxy ZMTP over a ZMQ_STREAM socket tunel, with several clients and several workers, with the following architecture: ___client A___ server_ proxy __worker B __

[zeromq-dev] performance ressource tradeoff for sockets ws threads ?

2014-02-13 Thread Laurent Alebarde
Hi all, In a server, I want to assign one socket per client (CURVE). What is the best in terms of performance ressources ? Say I want to deal with 1,000 simultaneous clients. 1. one socket per thread with an avarage cpu load 1%, and 1,000 threads ? 2. 100 sockets per thread with an avarage

Re: [zeromq-dev] Protocol Plugins

2014-02-13 Thread Lyle Thompson
OK. Thanks for your feedback, Pieter. I think, then, that I will just do it the simple way. Regards, Lyle -Original Message- From: zeromq-dev-boun...@lists.zeromq.org [mailto:zeromq-dev-boun...@lists.zeromq.org] On Behalf Of Pieter Hintjens Sent: Thursday, February 13, 2014 12:30 AM

[zeromq-dev] Export Control Classification number for zero MQ

2014-02-13 Thread Fabien
Hi, We are looking at using zeroMQ and NetMQ in one of our commercial software. We would like to know what is the country of origin for zeroMQ/NetMQ. If USA origin, what is the export control classification number (ECCN and/or CCATS or any other export control designation) for this component?

[zeromq-dev] Peer to peer connection

2014-02-13 Thread Ngo Doan Lap
Hi All, I'm going to develop peer to peer chat application using Zeromq but I can't find a away to for connecting two peers on different network. For example: A CoffeShop (public IP is 173.169.213.16) has peer A (private IP is 192.168.1.15) A university campaign (public IP is 87.96.124.16) has

Re: [zeromq-dev] Protocol Plugins

2014-02-13 Thread Lindley French
I think it's a worthwhile goal. In fact, I think a lot of aspects of libzmq which are currently hard-coded should be made more modular. There are two issues: 1) It's a big task, as mentioned, and someone just has to do it. 2) As a big task, it's also a big stability risk. There's a greater

Re: [zeromq-dev] Peer to peer connection

2014-02-13 Thread Ahmet Kakıcı
Each peer will use other's public ip address to connect but you have to forward ports to internal ip adresses. A will connect to tcp://87.96.124.16: or bind to tcp://*:. B will connect to tcp:173.169.213.16: or bind to tcp://*:. You both have to forward port to A's and B's

[zeromq-dev] coding note: redirecting libzmq/czmq library logging

2014-02-13 Thread Michael Haberler
the libraries write assertion errors to stderr (eg libzmq/src/err.hpp) or stdout for debugging (e.g. zclock_log()) that's a tad annoying in a daemon setup where you'd want to have that output go to syslog instead of a terminal I found this neat trick, which enables redirection of FILE *

Re: [zeromq-dev] Using ZMQ for video multicast

2014-02-13 Thread George Kumar
Hi Emmanuel, Thanks. This may be not so much ZMQ related, as PGM related. If I do PGM over internet, how does it get delivered to end hosts. As far as I understand, PGM requires support by intermediate routers. Or we want to use PGM we will have to have complete control over intermediate network

[zeromq-dev] How to load-balance blindly ? option to retrieve the identity assigned by the ROUTER or STREAM peer ?

2014-02-13 Thread Laurent Alebarde
Hi all, I am designing an architecture with tens of workers, each with hundreds of sockets. All the sockets connect to the same address. On the broker point of view, nothing differentiates the connections it receives except their unique identity it assigns to them. If it was one worker with

Re: [zeromq-dev] ROUTER not routing?

2014-02-13 Thread Justin Karneges
I'd like to move forward with fixing this. Can I get a confirmation that I should proceed? Basically I want to make it so if a connection reconnects, and an explicit identity is received from the peer, then it should overwrite any previously set identity for that peer. Also I tried to log an

Re: [zeromq-dev] ROUTER not routing?

2014-02-13 Thread Ahmet Kakıcı
It's not about zmq, just imagine someone comes to you and you say him you are x, after he left someone came too, so without his identity how will you decide if he is the same person or not? On Fri, Feb 14, 2014 at 12:51 AM, Justin Karneges jus...@affinix.comwrote: I'd like to move forward with

Re: [zeromq-dev] ROUTER not routing?

2014-02-13 Thread Justin Karneges
The new peer asserts its own identity. There is not a question about whether the new peer is the same as before. The peer very clearly is or is not the same, based on the identity it provides. The problem is that remote identities are only honored for the first peer. On 02/13/2014 03:00 PM,

[zeromq-dev] Crash in zeromq 3.2.4 Windows x64

2014-02-13 Thread Robin Scher
Hi List. I’ve been using ZeroMQ for about 8 months and it has been working well for my project. Recently I’ve noticed a crash on a customer site running under moderately heavy use (this machine is communicating with about 850 active clients, but the crash seems to happen over time, not based

Re: [zeromq-dev] Protocol Plugins

2014-02-13 Thread Pieter Hintjens
Well, large changes can always be grown incrementally. If we try a plugin architecture there's no reason to try to replace what we have now with new code. It can grow alongside it, without risk, then if/when it's mature, we use it. On Thu, Feb 13, 2014 at 7:45 PM, Lindley French