Multipart messages won’t help because they are sent atomically, ZeroMQ sees
them as a single message.
Joshua
> On Jun 1, 2016, at 2:14 AM, yogesh fulsunge wrote:
>
> Dear Team,
>
> I am looking for zeromq apis in C++ and java for sending large message sizes
> around 15 MB in one request.
>
You can also use something
like zmqc (https://github.com/jhawk28/zmqc) to send from the command
line.
Joshua
Alexandre Fromage
March 15, 2013
6:18 AM
Hi, You might want to read that http://rfc.zeromq.org/spec:13 .
You need to use the correct protocol to communicate with
You could use something like CurveCP (http://curvecp.org/) or you could
use a VPN.
Joshua
crocket wrote:
ZeroMQ doesn't support encryption by design.
How do I best add encryption to ZeroMQ messages sent over the internet?
___
zeromq-dev mailing lis
You can use something like
ZMQC.
Here is a python version: https://github.com/zacharyvoase/zmqc
Here is my go "port" of it: https://github.com/jhawk28/zmqc
Joshua
Arvind Creatrix IT Soft
Thursday, April
04, 2013 5:52 PM
Hello,
Thank you for your helpful replie
hu, Apr 4, 2013 at 3:50 PM, Joshua Foster mailto:jhaw...@gmail.com>> wrote:
You can use something like ZMQC.
Here is a python version: https://github.com/zacharyvoase/zmqc
Here is my go "port" of it: https://github.com/jhawk28/zmqc
Joshua
Arvind Creatrix IT Soft <mailto:arv..
I usually just put the libzmq.dll in a directory on the PATH.
Joshua
Nishant Mittal wrote:
Eric, also I could not add it as a reference to my project in Visual
studio. so I just put it in the bin/Debug folder and it worked during
development.. but now when its time to deploy my application.. i
You may also need to install the VC++ runtime that matches what was used
to compile the libzmq.dll
Joshua
Eric Hill wrote:
Here is how Windows searches for a DLL:
http://msdn.microsoft.com/en-us/library/7d83bc18(v=vs.80).aspx
References are for ActiveX or .Net frameworks, which libzmq.dll i
It should be possible. I've used it on Raspberry PI (Debian) so it
should compile under ArchLinux. Others have cross-compiled for Android.
ZeroMQ doesn't have many external dependencies. When I did a linux
cross-compile for an embedded system for ZMQ 2.2.0, it only required
libuuid. If you use
I would suggest looking at http://www.zeromq.org/build:android for ideas.
Joshua
Michael Powell wrote:
Hello,
I want to build ZMQ for ARM but have problems.
If I just build with the plain old i386 arch, no problems. I do get a
.a library I can statically link against, BTW. Good.
Now if I ./
Best place to start is the MTP: http://rfc.zeromq.org/spec:23
Joshua
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 s
JeroMQ is going to be
slower than the JZMQ.
Joshua
crocket
April 15, 2013
8:22 PM
> I'd try more
messages, see if the time is proportional (10K, 100K,> 1M). I'd then
replace the LabView piece with null code (doing no work)
> so you
can see which side the time is being
You can just create one context and share between threads. You want to
share the context between threads so that it can use "inproc"
connections between threads.
The '1' is used to tell ZeroMQ to only use one io thread in the
background. You generally don't need more than one unless you have A
My steps to install are to put the libzmq.dll on the System path. Then I
run the VC++ redist that I used to compile ZMQ.
Joshua
Oleg Vazhnev wrote:
Hi
If it's planned to add 3.2.3 installer here?
http://www.zeromq.org/distro:microsoft-windows
At this moment what is the best way to install Z
ZMQ does reconnects in the
background so you can connect or bind in any order. What transport are
you using?
Joshua
Absynt Technologies
May 6, 2013 1:21
AM
Hi all!I'm developing
against ZMQ on a distributed service architechture.architecture
is as follows:- I first lau
You may also be able to
use the "ZMQ_TCP_KEEPALIVE" option to help with observation 2.
Joshua
许海玲
May 15, 2013
11:05 PM
Hello
zmq guys,I am writing this letter to confirm whether zmq
PUB/SUB socket tcp connection have no timeout mechanism.Recently,
I am coding with ZMQ
I usually implement this
with multiple sockets. You can then use the poller to priorities the
messages from another socket.
Joshua
crocket
Friday, May 31,
2013 10:09 PM
Imagine a
situation where some messages are urgent and need to be delivered faster
than low priority
Historically, this has
been seen as something layered on top of zeromq instead of part of
zeromq. No, there is not trace/debugging built into zeromq.
Joshua
Rodolfo Damas
Sunday, June 02,
2013 2:13 PM
I'm a bit confused
here.. Did anyone answer the post below?Thanks,Rod
You problem is that the network is closing the connection without ZMQ
knowing. If you unplug your network cable and replug it back in, it will
reconnect and continue receiving data. If the network is closed without
ZMQ knowing, ZMQ will not know to reconnect. This usually happens on
large netw
linjson
发件人: Joshua Foster
发送时间: 2013-06-08
08:20:50
收件人: ZeroMQ
development list
抄送:
主题: Re: [zeromq-dev]
zmq
questions
You problem is that the network
is closing
the connection without ZMQ knowing. If you unplug your network cable and
replug
it back in, it will reconnect an
1. ZeroMQ stores the messages in the memory of the process that is using it
(ZeroMQ is a library).
2. Short answer - have high and low priority socket and poll between the two
favoring the high priority socket. Long answer - it really depends on the
problem. Sometimes its better to solve it usi
Issues repository can be found here: https://zeromq.jira.com/browse/LIBZMQ
Joshua
On 11/16/2013 12:15 PM, shancat wrote:
Hey, can anyone explain why the libzmq repo has issues disabled?
Thanks
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
What sort of debugging are you trying to solve?
Logging statements can be done well and poorly.This also depends on what sort
of debugging is needed.
slf4j is an external library, have you considered using java.util.logging?
Joshua
On Dec 30, 2013, at 8:11 AM, pablo fernandez wrote:
> Hi guy
Lets see if I can explain it. Each socket has its own queue/buffer. This
is what is used to track how many messages. PUB/SUB uses a drop approach
when its queue gets full. If a subscriber is slow (has a full queue),
the publisher continues publishing and does not block. The slow
subscriber woul
48 AM, Joshua Foster wrote:
Lets see if I can explain it. Each socket has its own queue/buffer. This is
what is used to track how many messages. PUB/SUB uses a drop approach when
its queue gets full. If a subscriber is slow (has a full queue), the
publisher continues publishing and does not block. The
Option 2. I never really got far enough with 3.0 since I couldn't see a forward
path from 2.1 to 3.0 to 4.0.
Joshua
On Nov 7, 2011, at 6:17 PM, Pieter Hintjens wrote:
> On Tue, Nov 8, 2011 at 1:51 AM, Martin Sustrik wrote:
>
>> It's up to Pieter whether he wants to maintain 3-0 further.
>> Pi
Try this:
java -Djava.library.path=/usr/local/lib -cp jzmq-1.0.0.jar:. hwclient
You need to include the local directory if you are running your code. If you
are running within eclipse, you need to add -Djava.library.path=/usr/local/lib
to the vm parameters and the jzmq-1.0.0.jar as a dependent
I'm wondering if you could use an XPUB and XSUB socket. You know when to start
sending when you receive a subscription.
Joshua
On Dec 28, 2011, at 5:42 PM, Yi Ding wrote:
> Hi everyone,
>
> I've been trying to build this program where I have multiple publishers
> (where each publisher represe
ioned about them in there.
>
> Thanks,
> Yi
>
> On Wed, Dec 28, 2011 at 5:50 PM, Joshua Foster wrote:
>> I'm wondering if you could use an XPUB and XSUB socket. You know when to
>> start sending when you receive a subscription.
>>
>> Joshua
>>
Try adding a sleep after the pub.connect(). pub/sub throws away data if it has
not finished connecting.
Joshua
On Dec 30, 2011, at 9:15 AM, Toralf Wittner wrote:
> Please consider the following program:
>
> #include
> #include
>
> int main() {
>zmq::context_t ctx(0);
>
>zmq::socket
2, 3, 5]
xpub.recv(0) // this will block because it is the same subscription
Joshua
On Dec 29, 2011, at 1:49 PM, Joshua Foster wrote:
> They are only available in 3.x and up. See the man pages for a description.
> http://api.zeromq.org/3-1:zmq-socket
>
> Joshua
>
>
> On
There has been talk of the Router socket able to provide disconnect
notifications. I'm not sure its in 3.x yet though.
Joshua
On Jan 9, 2012, at 12:38 AM, Kasicass Tang wrote:
> No. ZMQ doesn't provide connecting/disconnecting notification. It's
> just a message-queue, and possibly got data los
This would have solved our problems in a recent demo. We would publish data and
it would work fine until we paused for a little while. I thought about putting
heartbeats in, but we don't really need to guarantee data (using PUB) or the
complexity (adding the heartbeat handling to all components)
Polling is supposed to be a non-busy wait so there should not be any CPU
usage while waiting on the sockets. I know this works on the Java version.
Joshua
On 2/3/2012 4:25 PM, Sergey Malov wrote:
> I've checked it with different version of Scala 0mq binding, and it behaves
> as expected: settin
I would like to put forth the motion that the sockets should not be thread
safe. The multipart messages do not facilitate the ability for thread safety
without some major complexity. This would involve the complexity of changing
the API that breaks backwards compatibility or adding locks which w
I'm not sure if other languages have the same mechanism, but Java has a
ThreadLocal object. It allows the developer to create and store objects
local for each thread. In the ZMQ case, it would be an inproc socket for
each thread so that we can hide the complexity of thread safety under
the cove
Correct. IOCP has been looked at a number of times, but no impl yet. 0MQ just
uses select() on Windows. It is why there is no IPC on the Windows version.
Joshua
On Feb 9, 2012, at 10:28 AM, niXman wrote:
> Hi,
>
> I read the ØMQ sources and could not find IOCP implementation for
> Windows. Is
I would check to make sure that you are not actually wrapping messages between
the loop. try using a socket.hasReceiveMore() before pulling the next part and
then using draining the rest of the message parts if it doesn't match your
expectation.
A typical drain call that you can use could be li
The best size depends on your algorithm and environment. Leave it variable and
run some tests. Try 256, 512, 1024 bytes.
Joshua
On Feb 19, 2012, at 8:04 AM, Marco Trapanese wrote:
> Hello,
>
> I have a LAN with one server (ROUTER) and 25 clients (DEALER) that
> exchange small bit of data asyn
Yes, inproc works on Windows. You can use inproc between threads. The
ipc transport does not work under Windows. ipc is between processes. It
is recommended to use tcp://127.0.0.1 between processes on Windows.
Joshua
On 3/5/2012 9:14 PM, yy l wrote:
Hello ereryone!
Can I use a zmq socket with
; 0)
{
rc = zmq_msg_init_size(&msg, strlen("hello world!")+1);
memcpy(zmq_msg_data (&msg), "hello world!", strlen("hello world!")+1);
rc = zmq_send(pub_server, &msg, 0);
Sleep(1000);
}
return 0;
}
2012/3/6 Joshua Foster mailto:jhaw...@gmail.co
3.1 works the same way as 2.1 in your example. The changes in 3.1 is
that the subscription is forwarded to the PUB socket. This allows you to
create a publisher device. It would sit between the parent publisher and
the subscriber. The XPUB keeps track of the subscriptions and allows
them to app
om>> wrote:
I'm not sure this is correct, Joshua. PUB filters the messages in
3.1, while you can use XPUB in order to do more advanced
subscription management, it is not a requirement to have publisher
side filtering.
In Steve's example, Subscriber A would not
anced subscription
management, it is not a requirement to have publisher side filtering.
In Steve's example, Subscriber A would not receive every message, only
messages matching its filter.
On Mon, Mar 12, 2012 at 7:43 PM, Joshua Foster <mailto:jhaw...@gmail.com>> wrote:
check out http://mongrel2.org/
Joshua
On Mar 13, 2012, at 10:41 PM, David Mitchell wrote:
>
> Is is possible when running a PHP script under mod_php or CGI and an
> Apache Web server to bind or connect to a TCP or IPC socket? I can
> bind and connect when using the PHP CLI, but the connection
pub.send( arr.rotate() + ':' + (count++) );
}, 2500);
With 2.1 Wireshark shows that it is performing a subscriber
side filtering. Not with 3.1 though.
On Wed, Mar 14, 2012 at 1:05 PM, Ian Barber
mailto:ian.bar...@gmail.com>> wrote:
On W
I suspect this is caused by the time required to try reconnecting (it gets
progressively longer). Don't put a sleep between the connect and bind, just
before the sending first message.
Joshua
On Mar 21, 2012, at 6:56 AM, Doherty, Kevin wrote:
>
> Folks,
>I’m new to the mail list. Ha
; are
> received.
> This throws things off thereafter of course by the amount of the one
> "missed" part.
> As opposed to the entire first message when there is an actual subscription
> filter string.
>
> tx
>
>
> From: zeromq-dev-boun...@lists.zer
Does anyone have any problem if I back port the send/recv time out socket
options to 2.1.x?
Joshua
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev
Looking through the code, much of it has already been back ported as part of
issue 231. Are we still using the https://github.com/zeromq/zeromq2-1
repository for the 2.1.x development?
Joshua
On Mar 30, 2012, at 11:55 AM, Pieter Hintjens wrote:
> On Fri, Mar 30, 2012 at 10:26 AM, Jos
I back ported the fix in https://github.com/zeromq/zeromq2-1/pull/45
The issue is logged in https://zeromq.jira.com/browse/LIBZMQ-349
Joshua
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev
ssues as problems rather
> than solutions, so e.g. "Send/receive timeouts missing, makes REQ
> sockets less useful".
>
> -Pieter
>
> On Tue, Apr 3, 2012 at 1:20 PM, Joshua Foster wrote:
>> I back ported the fix in https://github.com/zeromq/zeromq2-1/pull/4
I submitted a push request for the timeouts to the JZMQ repo and it was pulled
(today). We should probably recommend doing another release of the Java
bindings to be able to take advantage of the new libzmq 2.x feature.
Joshua
On Apr 4, 2012, at 9:39 AM, William Brown wrote:
>
> Pieter,
I would recommend reading the guide. You will want to start out just using
PUSH/PULL, REQ/REP, and PUB/SUB for learning ZeroMQ. Dealer and Router sockets
are a little more advanced (and have their place). It looks like you have the
back half to a work queue (rrbroker is the work distributer and
If the binding is able to use 2.2.0, you can set the recvTimeOut socket option
instead of using the poller.
Joshua
On Apr 20, 2012, at 3:53 AM, Raphael Bauduin wrote:
> Hi,
>
> I need a process to send a request to a server, and wait a maximum of
> (let's say) 300 milliseconds. If no reply com
The low-latency nature of ZeroMQ makes it ideal for embedded platforms.
As of 3.x, ZeroMQ has no external dependencies (2.1 needs libuuid). My
Windows version is 180KB, and my OSX version is 380KB. Your runtime
needs will depend on how large the messages are and the number of
messages expected
Are the ACK's async? If they are not, you can use the REQ socket instead. Are
you using multiple threads?
Joshua
On Jul 5, 2012, at 7:58 PM, Diffuser78 wrote:
> Anyone ?
>
> On Thu, Jul 5, 2012 at 8:23 AM, Diffuser78 wrote:
> I have a client and a server app. Client needs to send 1000 lightw
Try binding to * on box b
when publishing.
Joshua
Mark Sutheran
July 7, 2012 9:42
AM
I'm having a strange asymmetrical problem with tcp
PUB/SUB between two boxes - it appears to fail one way.Details: * zeromq version: 3.2,
using the Java wrapper.* Scenario has two machi
If you don't do a
socket.recv(0), then it will return null if there is nothing in the
queue.
Joshua
xaviermillie...@eaton.com
July 10, 2012
11:48 AM
Hi,
I try to use the java binding
for zeromq on win seven 64:
Configuration:
I
downloaded the following
You technically could if
you kept track of all the addresses that you received. The main downside
is that you don't know when someone connects/disconnects. You only know
what requests were received.
Joshua
Grégoire Passault
Thursday, July
12, 2012 9:43 AM
Hi,Since I'm n
Anything is possible :)
There was some experimentation going on the 3.0 version that created a
Generic socket. Your hybrid socket could be developed with it because
you would get the Connect/Disconnect information.
Joshua
Grégoire Passault
Thursday, July
12, 2012 6:57 PM
HWM is related to the max
number of messages in the queue. Send buffer size is related to the max
size of the message allowed to send. If HWM is set to infinite (-1),
your process will eventually crash. Once it crashes, you lose all the
messages in the queue. Do you have some way of recovering?
The bindings have JavaDoc.
You can generate it with the maven build. I don't use the Z* objects. I
usually use the ZMQ.*
ZMQ.Context context = ZMQ.context(1);
etc...
Joshua
Peter Friend
Thursday,
November 15, 2012 5:13 PM
Perhaps I have missed it, but as far as I can te
Confirmed
Nishant Mittal
December 27, 2012
10:26 AM
testing if my emails are going
through to the list.. can someone pls confirm.thanks--
Nishant Mittal
Director, Product DevelopmentRosenblatt Securities Inc.20 Broad StreetNew
York, NY 10005
Di
I suspect that its because
most of queuing technologies are asynchronous. For realtime, you need
guarantees. Queuing products rarely provide any such guarantees. At
best, you could get pseudo real-time since zeromq is fast/lightweight.
Joshua
Marinho Brandao
December 30, 2
The mutex is "required"
because it guarantees that it is only used by a single thread at a time.
ZMQ has assertions that will cause your application to crash if you
access a socket between two threads concurrently.
Joshua
Nishant Mittal
January 2, 2013
6:58 PM
Charles..
It should be fine if you
create a socket to pass to the thread for the exclusive access by the
thread.
Joshua
Nishant Mittal
Wednesday,
January 02, 2013 7:08 PM
Joshua, if you read my first
msg in this thread you'll see that its guaranteed by application logic..
5 thre
It is much cleaner and
faster to just send a multipart message using zeromq. The multipart is
still considered a single ZMQ message and will be delivered atomically.
The guide has some more examples.
Joshua
It would look something like this:
import org.zeromq.ZMQ;
String xml = ""
byte[] att
Do you have the jzmq and
zmq dll files on your path?
Joshua
crocket
Wednesday,
January 16, 2013 12:22 AM
When I execute a
java program that uses jzmq,java says
"java.lang.UnsatisfiedLinkError:
C:\Repos\MobileMessageAgent\lib\jzmq.dll: Can't find specified
procedure"
W
You can use the pgm/epgm
transports for this. The example would be the same as the this:
http://zguide.zeromq.org/cs:wuproxy
but with a connect/bind string of:
epgm://eth0;239.192.1.1:
or
pgm://192.168.1.1;239.192.1.1:
NOTE: you need zeromq compiled with openpgm.
Joshua
m
Would anyone be interested if I submitted a VS2010 version of the build. I see
at least three possibilities: stick with 2008 for the time being, update to
2010, or keep a 2010 and a 2008 version in the builds folder.
Let me know what you all think.
Joshua
___
I figured it was more a when, I just wanted to ping the list to see if
we wanted to do it now.
Joshua
On 10/27/2010 2:51 AM, Martin Sustrik wrote:
> Joshua, Pieter,
>
> I would say the problem here is as follows:
>
> 1. If we move to VS2010 the project may not be usable by VS2008.
> 2. If we sta
So much red! makes me hungry...
The community site looks cleaner. I wonder if there is a way to have
released distributions of the bindings captured (for the newbies).
Joshua
On 10/28/2010 12:18 PM, Pieter Hintjens wrote:
> On Sat, Oct 23, 2010 at 7:18 PM, Martin Sustrik wrote:
>
>> So let's d
You need to set the Runtime library to MT instead of MD. You can get to
this by right clicking the project, selecting properties. Then
Configruation Properties -> C/C++ -> Code Generation.
Joshua
On 11/7/2010 11:41 AM, malist wrote:
> Hello. I'm also zmq newbie and this project seems fantastic.
I'm running it on OS X with 2.0.9 and I haven't seen the issue yet. I'll
compile 2.0.10 and see if it happens later tonight. Not sure if this affects
it, but numMessages should be volatile since you have multiple threads
accessing it. If you want the ability to restart the subscriber without los
s because of that.
>
> I only tried the test program on one machine but the whole program was
> used on multiple machines and was showing the same behavior.
>
> Oliver
>
> On 11/11/10 6:42 AM, Joshua Foster wrote:
>> I'm running it on OS X with 2.0.9 and I ha
If you want the subscriber to pick up where it last left off, be sure to
set the identity. The publisher is probably creating a new queue with
the "second" subscriber, but leaving the previous queue open. The
previous queue is the one that continues to grow (causing memory to
increase).
Joshu
connected subscriber and their queue ?
Any suggestion on how to solve this would be very helpful ?
Thanks,
Janak
----
*From:* Joshua Foster
*To:* ZeroMQ development list
*Sent:* Thu, November 11, 2010 1:19:27 PM
*Subject:* R
What version of Visual Studio? The VS projects are for 2008. ZMQ builds out of
the box for me. I then configure Visual Studio based on:
http://www.zeromq.org/bindings:java
If you are using the converted VS project in VS2010, just manually copy the
libzmq.lib and and libzmq.pdb from the zmq\buil
One problem is that the HWM doesn't dynamically change in all cases. For
example, setting the HWM on a PUB socket after calling a connect does not
actually set the HWM.
Joshua
On Nov 22, 2010, at 8:30 AM, Alexey Ermakov wrote:
> Hi,
>
> Current semantics of ZMQ_HWM (0 = no limit) mean that it
Because the ZMQ bindings are really just a wrapper to provide the full
ZMQ functionality, we would need to reimplement all of ZMQ in Java to
get a PURE Java implementation.
Joshua
On 11/24/2010 1:42 PM, Sven Koebnick wrote:
talking about Java-bindings, I wonder (expecting you to think about
r
I am trying to setup a service with ZeroMQ that subscribes to a TCP
endpoint that doesn't exist when the computer starts up. I am using the
computer name as I don't know what the DHCP address will be. ZMQ crashes
with the following assertion: Assertion failed: rc == 0
(..\..\..\src\zmq_connecte
My 2 cents
>
> Proposals:
>
> 1. Stop using topic branches for new development, use the master for this
Normal development (safe features/bug fixes/etc) should be done on master. The
master should be mostly stable which means quick, tested patches. Riskier
features such as experimental cha
Automated tests can alleviate some of the pain of being a maintainer. Of course
only good patches alleviate the pain of being a maintainer.
Joshua
On Feb 15, 2011, at 5:40 PM, Martin Sustrik wrote:
> Hi all,
>
> This is a good discussion to have.
>
> However, I believe the most important part
The UnsatisfiedLinkError is because the the directory containing the dll's
needs to be on the PATH Environment variable.
Joshua
On Feb 25, 2011, at 8:23 PM, Steven Dahlin wrote:
> The message is occurring when I attempt to initialize a context in Java with:
> ZMQ.Context context = ZMQ.context(1
In addition to reading the ZMQ manual, I would recommend looking into some
projects that provide document sync:
http://code.google.com/p/etherpad/
http://code.google.com/p/google-diff-match-patch/
http://code.google.com/p/google-mobwrite/
Joshua
On Mar 11, 2011, at 5:52 AM, Eloi Du Bois wrote:
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
Mikulicic wrote:
On 14 April 2011 05:33, Joshua Foster <mailto:jhaw...@gmail.com>> wrote:
Has anyone had success using zeromq in a J2EE application?
Yes, I used it to quickly (1 day work) bypass a scalability issue on
by java stack (jetty->cxf->solr) and
reach 800 query-per-sec
You need to match the VC++ redistrib libraries to the build environment.
Joshua
On Apr 17, 2011, at 9:53 PM, 机械唯物主义 : linjunhalida wrote:
> OK, install official python.org MSI + easy_install + pyzmq works,
> still don't know why pythonxy + pyzmq fails, digging..
>
> 2011/4/15 MinRK :
>> The bin
The table of contents should be expanded and maybe clickable.
Joshua
On 4/30/2011 9:55 AM, Pieter Hintjens wrote:
> Hi All,
>
> I've uploaded an experimental PDF version of the Guide, available at
> http://zguide.zeromq.org/main:_start.
>
> Please let me know if this works for you and I'll add th
add:
publishers.setsockopt(zmq.SUBSCRIBE, "")
Joshua
On 5/2/2011 6:11 PM, Dan Gould wrote:
> Hi,
>
> I'm a ZeroMQ newbie, but couldn't find an answer to this via the docs or
> list archives (sorry if I missed it).
>
> I've been using a pub/sub connection. It works fine. I was using:
>
> Send
Here is the full code... You should be connecting to the sender and then
subscribing to all the messages.
Sender:
sender.bind("tcp://127.0.0.1:5559")
...
sender.send_json(message)
Device:
context = zmq.Context(1)
incoming = context.socket(zmq.SUB)
incoming.connect("tcp:
I would prefer that the HWM stay as the default. The application needs to be
built with the HWM in mind. If they don't explicitly set the value, they are
probably not considering it. There is also the challenge of knowing the proper
size that the HWM needs to be set based on the size of the mess
I'm not sure what you are seeing here are my test runs...
E:\zmqwin32>remote_thr.exe tcp://127.0.0.1: 120 1000
E:\zmqwin32>remote_thr.exe tcp://127.0.0.1: 120 1000
E:\zmqwin32>local_thr.exe tcp://127.0.0.1: 120 1000
message size: 120 [B]
message count: 1000
mean thro
ory 11.1 GB
> Total Virtual Memory 31.9 GB
> Available Virtual Memory 26.3 GB
> Page File Space 15.9 GB
> Page File C:\pagefile.sys
>
> --CM
>
> From: zeromq-dev-boun...@lists.zeromq.org
> [mailto:zeromq-dev-boun...@lists.zeromq.or
Sounded like fun up till the beer part.
Joshua
On 5/18/2011 10:06 AM, Pieter Hintjens wrote:
> Hi all,
>
> I'm going to be in Seattle next week, so propose a meetup on Wednesday
> evening. I've no idea for suitable locations so if any natives of the
> area have suggestions, please give a shout.
>
I ported the code to Java and it does not increase in memory. My guess
is that the clrzmq bindings are at fault.
http://pastebin.com/nZACLqi1
Joshua
On 5/23/2011 11:35 AM, Martin Sustrik wrote:
> On 05/23/2011 05:17 PM, a frost wrote:
>
>> I am evaluating ZMQ, doing some initial testing with a
Just did a quick skim and it looks good.
Joshua
On 6/1/2011 4:16 PM, Pieter Hintjens wrote:
> Hi folks,
>
> I've finally managed to produce a nice version of the Guide (with
> index, page headers/footers etc.) as PDF, for those with e-readers and
> others who want this text to go.
>
> It's at htt
Here is a recommended way in protobufs -
http://code.google.com/apis/protocolbuffers/docs/techniques.html#self-description
Joshua
On Jun 2, 2011, at 6:53 AM, Martin Sustrik wrote:
> On 06/02/2011 11:37 AM, Seref Arikan wrote:
>> I'm already using protocol buffers. The thing is, I can be passing
If you use a payload encryption, you could pass out shared decryption keys
using a req/rep. If the filtering needed to change, you could detect it
(decryption fails) and the clients would then request a new decryption key. The
ones that are not allowed to see that data would be rejected.
Joshu
I don't think the numbering actually matters (unless you really like the number
3). Numbering seems to be more of a marketing/political issue if it ever does
matter. I suspect the topic of breaking backwards compatibility and how to
handle it is more important. We will have this when we move fro
1 - 100 of 118 matches
Mail list logo