gosh! thanks for the great replies.
i have a new pattern which seems significantly faster.
s4 is the high volume socket
plist = zpoller_new(s1, s2, s3, s4)
for(;;){
read up to 50 msgs NOBLOCK from s4
sock = zpoller_wait(plist)
if(sock == s1 or s2 or s3) process sock
On Dec 11, 2013, at 14:43, Pieter Hintjens wrote:
> On Wed, Dec 11, 2013 at 1:40 PM, Andrew Hume wrote:
>
>> i’ve just switched to using poller and wanted to verify my “pattern”.
>> i have 4 incoming sockets. 3 are (very) low volume but need low latency
>> the other socket is high volume where
On 12 Dec 2013, at 12:43 am, Pieter Hintjens wrote:
> On Wed, Dec 11, 2013 at 1:40 PM, Andrew Hume wrote:
>
>> i’ve just switched to using poller and wanted to verify my “pattern”.
>> i have 4 incoming sockets. 3 are (very) low volume but need low latency
>> the other socket is high volume whe
On 12/11/2013 11:07 AM, artemv zmq wrote:
> >> If the server goes down, and their is an established session, there
> is no way to know that without further communication, or no response
> where response is expected.
>>>If there is, I would love to know about it.
>
> I found a solution. There's a
Here's code reference (for netty-3.6.6)
org.jboss.netty.channel.socket.nio.AbstractNioWorker.process(). Go to
abstract function read(SelectionKey k) . The go to
org.jboss.netty.channel.socket.nio.NioWorker.read() implementation. This
block:
...
try {
while ((ret = ch.read(bb))
hi Justin,
>> If the server goes down, and their is an established session, there is
no way to know that without further communication, or no response where
response is expected.
>> If there is, I would love to know about it.
I found a solution. There's a lib in java called "netty". So they do
I'd like to announce the immediate availability of
org.zeromq/jeromq-0.3.2 on Maven Central.
You can view the full changelog here:
https://github.com/zeromq/jeromq/blob/master/CHANGELOG.md
Warmest regards,
Trevor
___
zeromq-dev mailing list
zeromq
Hi Devs,
In socket_base.cpp, there is this code:
// If required, send the identity of the local socket to
the peer.
if (peer.options.recv_identity) {
msg_t id;
rc = id.init_size (options.identity_size);
errno_assert (rc
Thanks very much for your clear answer.
On my side, I have digged a little. The ROUTER initializes randomly a id
variable, then increments it each time a new peer connects. This ensures
that for 2^32 connections, the IDs are different. So, to answer my own
question, I1a != I1b.
Le 10/12/201
On Wed, Dec 11, 2013 at 1:40 PM, Andrew Hume wrote:
> i’ve just switched to using poller and wanted to verify my “pattern”.
> i have 4 incoming sockets. 3 are (very) low volume but need low latency
> the other socket is high volume where (almost) any latency will do.
>
> my pattern is to initiali
On Tue, Dec 10, 2013 at 4:55 PM, AJ Lewis wrote:
> Please correct me if I'm wrong about this. :)
Entirely correct. :)
-Pieter
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev
Hi Laurent,
The RFC is authoritative. If you read the section "Detecting ZMTP 1.0
and 2.0 Peers" you will see what is happening.
-Pieter
On Tue, Dec 10, 2013 at 2:53 PM, Laurent Alebarde wrote:
> Hi Pieter,
>
> It looks like there are differences between the ZMTP 3 RFC23 ws libzmq
> master impl
On Tue, Dec 10, 2013 at 11:30 AM, Sean Robertson wrote:
> After some prodding it became apparent that letting the server thread
> sleep a little longer (another 100ms) the authentication mechanism
> would kick in and deny the client connection due to the now bogus
> whitelist of 227.0.0.2. Intere
It might be that your libjzmq.so and jzmq.jar are out of sync.
Like Pieter mentioned, use JeroMQ unless you specifically need JZMQ.
-Trev
On Tue, Dec 10, 2013 at 3:21 PM, Suchisubhra wrote:
>
>
> #
> # A fatal error has been detected by the Java Runtime Environment:
> #
> # SIGSEGV (0xb) at
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x7f4abfbced00, pid=24332, tid=139959612520192
#
# JRE version: 7.0_06-b24
# Java VM: Java HotSpot(TM) 64-Bit Server VM (23.2-b09 mixed mode
linux-amd64 compressed oops)
# Problematic frame:
# C [libz
On 09 December 2013, Roman said:
> Greg, thank you for answering.
> Sure, it is definitely known that it is impossible to compile C language
> programs on OpenWRT box itself. In case you need compilation,
> cross-compiler is used on another platform.
> In my case I already have zeromq library compi
Yeah, that is what is worrying me as well (no commits).
Thanks, Matt !
On Wed, Dec 11, 2013 at 4:21 PM, Matt Connolly wrote:
> I haven’t had any problems. I recently switched from clrzmq to NetMQ and
> I’m talking to ruby processes using the rbczmq gem (which I chose because
> it was faster
I haven’t had any problems. I recently switched from clrzmq to NetMQ and I’m
talking to ruby processes using the rbczmq gem (which I chose because it was
faster and more ruby-like in its implementation than the ruby-ffi zmq gem).
I can’t speak for the maintainers of clrzmq. There have been no co
Is it compatible with zeromq? I mean i can interop from C# side using netmq
to ruby-ffi with native zeromq and vice versa?
Officially it means native zeromq binding to CLR is dead?
On Wed, Dec 11, 2013 at 3:58 PM, Matt Connolly wrote:
> NetMQ is a native C# implementation that appears more ac
NetMQ is a native C# implementation that appears more active than clrzmq:
https://github.com/zeromq/netmq
-Matt
On 11 Dec 2013, at 9:39 pm, Dmitriy Vsekhvalnov wrote:
> Hi All,
>
> trying to get an idea if clrzmq (https://github.com/zeromq/clrzmq) is
> supported or not anymore. It doesn't se
check my own implementation:
https://github.com/xekoukou/PlatanosPriorityPoll
I dont have time to explain it at the moment.
2013/12/11 Andrew Hume
> pieter
>
> i’ve just switched to using poller and wanted to verify my “pattern”.
> i have 4 incoming sockets. 3 are (very) low volume but need l
pieter
i’ve just switched to using poller and wanted to verify my “pattern”.
i have 4 incoming sockets. 3 are (very) low volume but need low latency
the other socket is high volume where (almost) any latency will do.
my pattern is to initialize the poller with the high volume socket last,
Hi All,
trying to get an idea if clrzmq (https://github.com/zeromq/clrzmq) is
supported or not anymore. It doesn't seem to support latest v4.x release.
If not supported any alternates?
Thanks.
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
ht
Cool! I saw Bruno response. Justin, thanks for patience and for keep
replying, I much appreciate that.
BR
-artemv
2013/12/11 Justin Cook
> Artem,
>
> There is no way to know that a node on the network went down without the
> lack of receiving acknowledgements that the message was received
Artem,
There is no way to know that a node on the network went down without the lack
of receiving acknowledgements that the message was received — either with TCP
ACKs or a messaging pattern in 0MQ such as REQ/REP.
If the the server is not up yet, and you have not established a session, then
hi Justin. Thanks for heads up.
Ok. Clear. Especially about steady stream.
But, again, let me make it very clear.
I imagine following situations and desired outcomes:
- Server is not up yet, and client tries to send a message. Desired
outcome: big red alarm -- "fail" w/o waiting for reply.
- Serv
There is a new feature on 4.x called ZMQ_IMMEDIATE that will, depending on the
socket type, prevent the message from being queued if the pipe (tcp socket) is
not yet established.
With this option enabled, the send will block until a connection is
established, or a send(DONTWAIT) will return fal
Artem,
This is a problem that every network developer faces. Did my message make it to
its destination? If I send a message, is it likely to make it to the recipient?
Fortunately, there are patterns to use to increase reliability, but even then
there is no way to be 100% sure that when a mes
Took a look at the high level C++ binding. It already does all that my
single file template does.
I use some modules of czmq under C++ and felt that it didn't make sense to
be using zframe, zmsg, zstr under C++.
On Dec 10, 2013 5:20 PM, "Pieter Hintjens" wrote:
> On Mon, Dec 9, 2013 at 3:23 PM,
Okay. Thanks for your thoughts. Again, I read the guide, and I know on
practice what's pub/sub/push/pull/ .. and so on.
But let me ask one more time very concrete and simple question. I want to
develop a client/server appl. Okay. I pick dealer/router pattern. Fine. Now
my requirement is following:
zeromq.org - learn the basics - http://zeromq.org/intro:read-the-manual - the
guide - http://zguide.zeromq.org/page:all
I just gave you a short description of how Ømq is solving the network problems
for me.
On Dec 11, 2013, at 6:59, asif saeed wrote:
> Hi Bruno,
>
> On Wed, Dec 11, 2013 at
31 matches
Mail list logo