Re: [zeromq-dev] DEALER/ROUTER clarification question

2024-08-15 Thread Trevor Bernard
I believe this is a bug in how jeromq handles Thread interrupts. If I close it by other means, the ESTABLISHED connections are no longer. On Wed, Aug 14, 2024 at 5:46 PM Trevor Bernard wrote: > > Gentlemen, > > I'm working on a potential Jeromq bug (Issue #993) and I'm see

[zeromq-dev] DEALER/ROUTER clarification question

2024-08-14 Thread Trevor Bernard
Gentlemen, I'm working on a potential Jeromq bug (Issue #993) and I'm seeing behaviour that I don't understand. You can follow my work here: https://github.com/trevorbernard/jeromq-993 Here is my conundrum. The issue states additional SYN packets are sent from closed DEALER sockets with the Cont

Re: [zeromq-dev] Alternatives to rfc.zeromq.org

2023-11-26 Thread Trevor Bernard
> I'm interested in creating a site for zeromq-based specifications in the same > style and format of rfc.zeromq.org but which can not be published in that > repository because the maintainer finds them objectionable. The RFC repository follows the C4 process. Maintainers aren't supposed to pass

[zeromq-dev] JeroMQ - New Trusted Signing Key

2023-09-24 Thread Trevor Bernard
Hello folks, We added a new trusted signing key for JeroMQ releases. -BEGIN PGP PUBLIC KEY BLOCK- mQINBGUFZeEBEACl/bYA+BvSw5YyqNJ+KDzJbx2DD4i/JXYyT2Z83bE8CYBhAegm Ygiql4ejYhb1opWPIDopVXZ3DOyMivvS68foQ6UA+4ohOydaqTAHPRnn/+5GZFFM kfuA7KLZhEYRP6wkEmRNm63q9TIg4b80nssXbWKHNAar9VWk3yIKgsRsSXf1

Re: [zeromq-dev] [zeromq-announce] When is new version of libzmq getting released?

2023-05-15 Thread Trevor Bernard
From what I can remember most libzmq releases were signaled by the community and it sounds like we're at that point now. On Mon, May 15, 2023 at 10:39 AM Gaurav Gupta wrote: > > Thanks to all for sharing their inputs. > > I would agree that it's time to create a new version. And 320 commits is no

Re: [zeromq-dev] Archived repository

2022-12-12 Thread Trevor Bernard
The last commit was over 3 years ago and I was the original author. It's effectively dead. Feel free to fork and make improvements. If there is evidence of life, I'll unarchive it. -Trev On Mon, Dec 12, 2022 at 12:26 PM Stephen Riesenberg wrote: > > Hi all, > > I noticed that jzmq-api is listed

[zeromq-dev] [ANN] JeroMQ 0.5.3 - A pure Java clone of libzmq

2022-12-03 Thread Trevor Bernard
I'd like to announce the immediate availability of org.zeromq/jeromq-0.5.3 on Maven central. The full changelog can be found here: https://github.com/zeromq/jeromq/blob/master/CHANGELOG.md Try it via Download: https://repo1.maven.org/maven2/org/zeromq/jeromq/0.5.3/ Best regards, Trevor _

Re: [zeromq-dev] Free security help from Google and Open Source Technology Improvement Fund, Inc

2022-11-15 Thread Trevor Bernard
Is this strictly for libzmq or can child projects like jeromq get some help as well? On Tue, Nov 15, 2022 at 1:07 PM Amir Montazery wrote: > Thank you to everyone who has helped so far! What we can concretely offer > is below under "What you can expect". We totally understand you maintainers > a

Re: [zeromq-dev] A Kotlin ZeroMQ library

2022-07-08 Thread Trevor Bernard
I can get you added to maven central when you are ready. -Trev On Fri, Jul 8, 2022 at 11:21 AM Luca Boccassi wrote: > Unfortunately I cannot help with maven/java, I know nothing about that > side of things. I can help with the Github org when you are ready for > the move. > > On Fri, 2022-07-08

Re: [zeromq-dev] Call for Maintainers - JeroMQ

2021-05-12 Thread Trevor Bernard
wrote: > > On Tue, 11 May 2021 15:54:14 +0100 Luca Boccassi > wrote: > > > On Tue, 2021-05-11 at 10:03 -0400, Trevor Bernard wrote: > > > Hi, > > > > > > I'm been the Java steward for ZeroMQ since about 2012. I no longer > > > have the time

[zeromq-dev] Call for Maintainers - JeroMQ

2021-05-11 Thread Trevor Bernard
Hi, I'm been the Java steward for ZeroMQ since about 2012. I no longer have the time nor desire to give to this project anymore. It's been a wonderful ride and I've worked with many amazing people. I will create one more stable release then hand off the reigns to the other ZeroMQ maintainers. Bes

[zeromq-dev] Sonarcloud zeromq organization

2020-05-10 Thread Trevor Bernard
Hi, Does anyone on the list own: https://sonarcloud.io/organizations/zeromq/ property? If so, may I be added to the organization please. Best, Trevor ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org https://lists.zeromq.org/mailman/listinfo/zero

[zeromq-dev] [contract] NetMQ/Zyre stability project

2019-11-19 Thread Trevor Bernard
Hi, I have a project that requires some NetMQ and Zyre expertise. It's a musical orchestration application written in VB.NET.I originally started the project but real life got in the way and I'm unable to finish. The gist of the project is to help stabilize the Zyre communication between nodes, s

[zeromq-dev] [ANN] JeroMQ 0.5.1 - A pure Java clone of libzmq

2019-04-05 Thread Trevor Bernard
I'd like to announce the immediate availability of org.zeromq/jeromq-0.5.1 on Maven central. Included in the release is better interop between secure ZeroMQ endpoints, fixed file descriptor leak when opening TCP connections, and much more. You can see the full changelog here: https://github.com/zer

Re: [zeromq-dev] Difference between libzmq and zeromq ?

2019-04-01 Thread Trevor Bernard
It's easier to think about ZeroMQ as the community and libzmq as the messaging library. I believe that's how Pieter was describing ZeroMQ at the end. -Trev On Mon, Apr 1, 2019 at 2:45 PM Michal Vyskocil wrote: > > Hi, > > Don't worry, it is confusing. > > If you built from zeromq tarball, then

[zeromq-dev] [ANN] JeroMQ 0.5.0 - A pure Java clone of libzmq

2019-02-18 Thread Trevor Bernard
I'd like to announce the immediate availability of org.zeromq/jeromq-0.5.0 on Maven central. It's been over a year since the last major release. The biggest change is that JeroMQ had dropped support for Java 7. You can see the full changelog here: https://github.com/zeromq/jeromq/blob/v0.5.0/CHANGE

[zeromq-dev] ZeroMQ Slack

2019-02-18 Thread Trevor Bernard
Does anyone know who owns the zeromq slack channel? -Trev ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org https://lists.zeromq.org/mailman/listinfo/zeromq-dev

Re: [zeromq-dev] Remote code execution in libzmq 4.2.0 -> 4.3.0

2019-01-12 Thread Trevor Bernard
Is would be prudent to also back port that RCE fix to 4.2.x -Trev On Sat, Jan 12, 2019 at 1:44 PM Luca Boccassi wrote: > > Hi, > > Please note that a remote execution vulnerability has been uncovered, > it affects all versions of libzmq from 4.2.0 up to and including 4.3.0. > > Users deploying w

Re: [zeromq-dev] BDFL team

2019-01-03 Thread Trevor Bernard
Congratulations. It's well deserved. On Thu, Jan 3, 2019 at 11:51 AM Michel Pelletier wrote: > > Thank you Doron and Luca! Wish I could make it for one of those beverages :) > > -Michel > > On Thu, Jan 3, 2019 at 8:23 AM Luca Boccassi wrote: >> >> Thanks Doron! >> >> As my first act as part of

Re: [zeromq-dev] TLS (openssl) for ZeroMQ

2018-12-28 Thread Trevor Bernard
Why not just use stunnel as a TLS wrapper and avoid having to modify the zeromq code base? You are free to use OpenSSL, you don't need another key management system that can handle the Curve25519 elliptic curve. Configuration is likely easier than adding TLS support in ZeroMQ. On Wed, Dec 26, 2018

[zeromq-dev] Canuck visiting Portugal

2018-05-02 Thread Trevor Bernard
Gentlefolk, I will be Lisbon for the first two weeks of June. I would love having a coffee/pint with people in the area. Best, Trevor ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org https://lists.zeromq.org/mailman/listinfo/zeromq-dev

[zeromq-dev] [ANN] JeroMQ 0.4.3 - A pure Java clone of libzmq

2017-11-17 Thread Trevor Bernard
I'd like to announce the immediate availability of org.zeromq/jeromq-0.4.3 on Maven central. A lot of work has been put into stabilizing jeromq and interoperability. You can see the full changelog here: https://github.com/zeromq/jeromq/blob/v0.4.3/CHANGELOG.md Try it via Download: https://repo1.m

Re: [zeromq-dev] [ANN] JeroMQ 0.4.2 - A pure Java clone of libzmq

2017-07-01 Thread Trevor Bernard
2017-06-30 at 09:20 -0400, Trevor Bernard wrote: > > > Is the CURVE implementation fully inter-operable with libzmq? > > > > Yup, it's fully interoperable. > > Fantastic, thanks! > > -- > Kind regards, > Luca Boccassi > > ___

Re: [zeromq-dev] [ANN] JeroMQ 0.4.2 - A pure Java clone of libzmq

2017-06-30 Thread Trevor Bernard
> Is the CURVE implementation fully inter-operable with libzmq? Yup, it's fully interoperable. ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org https://lists.zeromq.org/mailman/listinfo/zeromq-dev

[zeromq-dev] [ANN] JeroMQ 0.4.2 - A pure Java clone of libzmq

2017-06-30 Thread Trevor Bernard
I'd like to announce the immediate availability of org.zeromq/jeromq-0.4.2 on Maven central. The single biggest change is now JeroMQ now has full native java security support! Special thanks to Frédéric Déléchamp for updating the codebase to v4.1.7. Here is an example of how to secure a JeroMQ con

Re: [zeromq-dev] Request Reply pattern

2017-05-03 Thread Trevor Bernard
REQ/REP happens in lockstep aka ping then pong -- the assertion happens by design. You'll have to create a new REP socket as well. IMHO the REQ/REP pattern has very limited use in real world applications. I suggest taking a look at ROUTER/DEALER instead. On Wed, May 3, 2017 at 3:00 PM, Marlborough

Re: [zeromq-dev] czmqjni status?

2017-04-11 Thread Trevor Bernard
James, I would check the generated self tests to see how to send and receive messages. Best, Trev On Mon, Apr 10, 2017 at 11:30 PM, James Gatannah wrote: > I've been dabbling with the bindings from github and the source > distribution, and I'm starting to suspect that they aren't in a usable >

[zeromq-dev] [ANN] JeroMQ 0.4.0 - A pure Java clone of libzmq

2017-03-22 Thread Trevor Bernard
I'd like to announce the immediate availability of org.zeromq/jeromq-0.4.0 on Maven central. Special thanks to Dave Yarwood for all his hard work which allowed this release to happen. Try it via Download: https://repo1.maven.org/maven2/org/zeromq/jeromq/0.4.0/ 0.4.0 includes the following change

Re: [zeromq-dev] Call for maintainers [JeroMQ, JZMQ]

2016-11-22 Thread Trevor Bernard
can you describe some more what would be required? > I'm a professional java developer and feel I have a good understanding > of jeromq, but I don't know its internals that well. > > Thanks, > Colin > > On 11/20/16 2:53 PM, Trevor Bernard wrote: >> Hi all, >>

[zeromq-dev] Call for maintainers [JeroMQ, JZMQ]

2016-11-20 Thread Trevor Bernard
Hi all, I've been happily the steward for ZeroMQ on the JVM for many years now but unfortunately, I don't have the time or energy to give these projects the attention they needs. I'm looking for someone to step up and take over managing the releases to Maven Central. I will help ensure a smooth tr

Re: [zeromq-dev] BDFL literally

2016-10-06 Thread Trevor Bernard
The name servers are from slicehost if that means anything On Thu, Oct 6, 2016 at 11:28 PM, Ewen McNeill wrote: > On 7/10/16 14:05, Steven McCoy wrote: >> >> Is zero.mq owned by someone else? > > > I don't know. mq doesn't appear to have useful whois servers. > > I know it's not

Re: [zeromq-dev] BDFL literally

2016-10-06 Thread Trevor Bernard
Don't worry about sponsorship. My company will pay to renew them for the next while (within reason). Just send me the details and I'll pay the the bill. -Trev On Thu, Oct 6, 2016 at 12:35 AM, Osiris Pedroso wrote: > Could you please list them? > I would like to sponsor a few, but would like to c

[zeromq-dev] [ANN] - JeroMQ 0.3.6 - A pure Java clone of libzmq

2016-09-27 Thread Trevor Bernard
Best regards, Trevor Bernard ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Re: [zeromq-dev] docker accounts

2016-06-13 Thread Trevor Bernard
Kevin, I created the "zeromq" organization a while back. I can add you as a collaborator. Best, Trev On Mon, Jun 13, 2016 at 4:04 AM, Kevin Sapper wrote: > Hello zeromqers, > > I've been recently looking at the docker images of zeromq that are provided > on docker hub. There're two docker hub o

Re: [zeromq-dev] Moving list to Google groups?

2016-04-19 Thread Trevor Bernard
No real preference between google groups or mailman TBH. -Trev On Tue, Apr 19, 2016 at 9:06 AM, Dinu Gherman wrote: > I just got a reply from MailmanLists support saying they plan to introduce > Mailman 3 this year, without giving a date, though. > > -- > Sent on the move. > Von unterwegs gesende

Re: [zeromq-dev] Proposal to unify ZMQ Java projects

2016-02-02 Thread Trevor Bernard
I agree, the ZeroMQ Java ecosystem is fragmented and leaves much to be desired. I agree with Pieter in that you should only tackle the most crucial pieces first since this can easily become overwhelming. I'd happily answer any questions you might have. Best, Trevor On Tue, Feb 2, 2016 at 4:08 AM,

Re: [zeromq-dev] ZeroMQ hackathon, 27-28-29 January

2016-01-27 Thread Trevor Bernard
Have fun people, I wish I was there. But Barbados is a nice consolation. :) On Wed, Jan 27, 2016 at 5:56 AM, Doron Somech wrote: > Waiting for the bus... > > On Jan 27, 2016 10:00, "Pieter Hintjens" wrote: >> >> No, no, come eat here, we have breakfast and we need your opinion on >> urgent matte

Re: [zeromq-dev] Async loop died! org.zeromq.ZMQException: Address already in use(0x62)

2015-12-18 Thread Trevor Bernard
torm-dev but > couldn't fix until now so there is not problem with zeromq ? > > On Fri, Dec 18, 2015 at 3:17 PM, Trevor Bernard > wrote: >> >> Sam, >> >> This is more a storm issue than a zeromq issue. The port it's trying >> to use is already b

Re: [zeromq-dev] Async loop died! org.zeromq.ZMQException: Address already in use(0x62)

2015-12-18 Thread Trevor Bernard
Sam, This is more a storm issue than a zeromq issue. The port it's trying to use is already bound. I would post on the appropriate storm message board instead. Best, Trev On Fri, Dec 18, 2015 at 9:14 AM, sam mohel wrote: > i'm new to use zeromq , i'm using storm -0.8.2 with version 2.1.7 zeromq

Re: [zeromq-dev] ZeroMQ hackathon/workshop (Brussels, 27/1-29/1 2016)

2015-11-14 Thread Trevor Bernard
I'm very much looking forward to participating at FOSDEM and the hackathon before it. I hope to see you people there. On Sun, Nov 15, 2015 at 2:50 AM, Pieter Hintjens wrote: > Hi all, > > On the days before FOSDEM (the largest free and open source > developers' meeting in Europe), we're running a

Re: [zeromq-dev] New ZeroMQ project: zwebrap

2015-11-05 Thread Trevor Bernard
Awesome! Very zeromqish indeed. -Trev On Thu, Nov 5, 2015 at 5:00 AM, Kevin Sapper wrote: > Hi, > > > I like to announce a new project I moved to the ZeroMQ community. Its name > is zwebrap[1] and its purpose is to convert HTTP requests into XRAP[2] > requests and XRAP responses into HTTP respon

Re: [zeromq-dev] JNI binding generation

2015-09-10 Thread Trevor Bernard
The reason for the direct buffer is that it's stored off heap (java heap) and you can access the pointer from JNI. You can just cast it to a zmsg inside the native code. On Thu, Sep 10, 2015 at 7:49 AM, Trevor Bernard wrote: > You can cheat a little bit with that. I would use a directby

Re: [zeromq-dev] JNI binding generation

2015-09-10 Thread Trevor Bernard
You can cheat a little bit with that. I would use a directbytebuffer to represent the zmsg struct. Then I would create a class around it with convenient accessor methods for the various offsets. Feel free to ping me offline if you need some help. -Trev On Thu, Sep 10, 2015 at 7:21 AM, Pieter Hint

Re: [zeromq-dev] message loss at high send rate in Jyre

2015-09-05 Thread Trevor Bernard
> I was able to manually configure the pom to use jzmq and run the jyre tests. > Let me know if you have some fancy way of switching between the two > implementations. You can exclude dependencies in maven or gradle then import the project you want. > Also, how are you specifying the java.library

Re: [zeromq-dev] message loss at high send rate in Jyre

2015-09-04 Thread Trevor Bernard
-dev-boun...@lists.zeromq.org > [mailto:zeromq-dev-boun...@lists.zeromq.org] On Behalf Of Trevor Bernard > Sent: Thursday, September 03, 2015 11:10 AM > To: ZeroMQ development list > Subject: Re: [zeromq-dev] message loss at high send rate in Jyre > > Adam, > > I was able to reliably recreat

Re: [zeromq-dev] message loss at high send rate in Jyre

2015-09-03 Thread Trevor Bernard
t cases tend > to consume a lot of file handles... > > -Pieter > > On Thu, Sep 3, 2015 at 5:09 PM, Trevor Bernard > wrote: >> Adam, >> >> I was able to reliably recreate your error using JeroMQ on my MBP >> though I have yet to try on a Linux. When I di

Re: [zeromq-dev] message loss at high send rate in Jyre

2015-09-03 Thread Trevor Bernard
x27;ll set up a VM and retry the tests. -Trev On Thu, Sep 3, 2015 at 11:59 AM, Trevor Bernard wrote: > Hi Adam, > > Building JZMQ is pretty straight forward: > > $ ./autogen.sh && ./configure && make && sudo ldconfig && mvn install > -Dgpg.skip=

Re: [zeromq-dev] message loss at high send rate in Jyre

2015-09-03 Thread Trevor Bernard
Hi Adam, Building JZMQ is pretty straight forward: $ ./autogen.sh && ./configure && make && sudo ldconfig && mvn install -Dgpg.skip=true I submitted a few patches to jyre this morning that made jeromq the default. Also, if you want to test with JZMQ, you can just use the follow branch in my fork

[zeromq-dev] [ANN] - JeroMQ 0.3.5 - A pure Java clone of libzmq

2015-07-15 Thread Trevor Bernard
It's been 14 months since our last stable release and that's far too long! I'd like to announce the immediate availability of org.zeromq/jeromq-0.3.5 on Maven Central. You can view the full changelog here: https://github.com/zeromq/jeromq/blob/master/CHANGELOG.md#v035 Best regards, Trevor _

[zeromq-dev] JRE - Zyre/Jyre

2015-07-08 Thread Trevor Bernard
Hi, I am consider using Zyre/Jyre in a project I'm working on and I would love to hear any (war) stories about using Jyre or Zyre in a production environment. Also, is Jyre up to date with the latest JRE RFC? http://rfc.zeromq.org/spec:36/ZRE Best regards, Trevor

Re: [zeromq-dev] Security/Encryption in Java

2015-02-12 Thread Trevor Bernard
Hi, Currently CURVE isn't supported in either JZMQ or JeroMQ. There is a very old pull request for CURVE support in JZMQ but it fails travis-ci and is likely out of date: https://github.com/zeromq/jzmq/pull/275. The way we develop is to submit problem statements in the issue tracker instead of fea

Re: [zeromq-dev] Notes from a hackathon

2015-02-03 Thread Trevor Bernard
The single biggest problem I see people having in the JVM community is their lack of understanding of the concurrency model. I haven't had time to internalize the proposal just yet but if it helps people write better/simpler software, I'm all for it. -Trev On Tue, Feb 3, 2015 at 4:33 PM, frank w

Re: [zeromq-dev] Remote client does not receive any messages

2014-12-01 Thread Trevor Bernard
s/ncat/netcat/ On Mon, Dec 1, 2014 at 6:52 PM, Trevor Bernard wrote: > I've used ngrep and ncat with great success in the past to debug > zeromq connectivity issues > > On Mon, Dec 1, 2014 at 5:42 PM, Andreas Bauer wrote: >> The code for the test cases is just the on

Re: [zeromq-dev] Remote client does not receive any messages

2014-12-01 Thread Trevor Bernard
I've used ngrep and ncat with great success in the past to debug zeromq connectivity issues On Mon, Dec 1, 2014 at 5:42 PM, Andreas Bauer wrote: > The code for the test cases is just the one I’ve already attached. Really > nothing more. > > But true, it was a strange network issue. I’ve overlooke

Re: [zeromq-dev] JeroMQ resources deallocation

2014-11-24 Thread Trevor Bernard
Hi Frederic, Thanks for taking the time to write this post. > 1) a very recent commit (related to issue #200) in Ctx.destroySocket() > removed the call to Socket.close(). As far as I can see, this inhibits > closing the sockets in the cycle: ZContext.createSocket() > ZContext.destroySocket() ZC

Re: [zeromq-dev] [Proposal] - JeroMQ to use Java 1.7

2014-11-24 Thread Trevor Bernard
Fair enough. How about this compromise: The 3.2.X version of JeroMQ will remain compatible with 1.6 but any work towards 4.0 will be Java 7? Thoughts? -Trev On Mon, Nov 24, 2014 at 10:47 AM, Michael Keselman wrote: > Please keep Java 1.6 compatibility for at least one more year. There > are st

Re: [zeromq-dev] [Proposal] - JeroMQ to use Java 1.7

2014-11-22 Thread Trevor Bernard
> What are the advantages of supporting >= 1.7 only (and thus dropping > support for 1.6) ? Are there benefits for the JeroMQ devs/maintainer? It allows you to write code that looks like this: https://gist.github.com/trevorbernard/5311e1dcaaa074654a09 This is an experimental API I have been yak s

[zeromq-dev] [Proposal] - JeroMQ to use Java 1.7

2014-11-21 Thread Trevor Bernard
Hi, I propose we bump the minimum supported Java version to 1.7 since Java 6 is already end of life. Originally I was leary of doing this because I believed it would break peoples code but I accidently released v0.3.4 with Java 1.7 and it's proved not to be a problem. Thoughts? -Trevor _

Re: [zeromq-dev] jeromq raw-sockets

2014-10-10 Thread Trevor Bernard
n > > On Fri, Oct 10, 2014 at 1:45 PM, Trevor Bernard > wrote: >> >> Hi Robin, >> >> I think a previous build might have been overwritten. See: >> >> - https://github.com/zeromq/jeromq3-x/tree/v0.3.3 >> - https://github.com/zeromq/jeromq/tree/v0.3.

Re: [zeromq-dev] jeromq-0.3.3 builds

2014-10-10 Thread Trevor Bernard
Hi Robin, I think a previous build might have been overwritten. See: - https://github.com/zeromq/jeromq3-x/tree/v0.3.3 - https://github.com/zeromq/jeromq/tree/v0.3.3 I would run a diff between to two to see if there are any significant differences. I would use the latest stable build which is v

Re: [zeromq-dev] Persistence with ZeroMQ

2014-10-01 Thread Trevor Bernard
> Thanks for the pointer. Could you please describe high level architecture of > how you are using it with zeromq? At a high level, my services flowed data in a pipeline. So for each process, there would be an upstream and downstream zeromq socket each running on their own thread. I choose push/pu

Re: [zeromq-dev] Persistence with ZeroMQ

2014-10-01 Thread Trevor Bernard
> Since you have experience with this library can you share your experience > with using openhft ? Some of the pros and cons of using this library? Pros: are it's high performance, generates almost no garbage and fairly easy to use. Cons: when I used it, it didn't have rolling logs quite right an

Re: [zeromq-dev] Persistence with ZeroMQ

2014-10-01 Thread Trevor Bernard
I've had a lot of success persisting to an append only memory mapped file. A throughput of 300k/s 1kb size messages shouldn't be a problem. If you are on Java, I would suggest checking out the Chronicle queue from OpenHFT. I've used this in production in conjunction with ZeroMQ with fantastic resul

Re: [zeromq-dev] Client hang on recv

2014-09-24 Thread Trevor Bernard
You shouldn't include both as a dependency -- the results would not be deterministic. I would choose either jeromq or jzmq. On Wed, Sep 24, 2014 at 4:32 PM, Mohit Anchlia wrote: > This is my java dependency: > > > > > > org.zeromq > > jeromq > > 0.3.4 > > > > > > > > > > org.zeromq > > jzmq

Re: [zeromq-dev] ZMQException: Errno 48 : Address already in use

2014-09-10 Thread Trevor Bernard
JeroMQ actually has higher throughput than JZMQ. There is a heavy cost when crossing the boundary between java and native JNI code. I would suggest people start with JeroMQ unless they need a feature that it doesn't support like inproc, pgm and currently security. It's far simpler to get up and run

Re: [zeromq-dev] ZMQException: Errno 48 : Address already in use

2014-09-10 Thread Trevor Bernard
INPROC is not properly supported on JeroMQ. It translate the bind to "tcp://127.0.0.1:port". If you want INPROC, use JZMQ. On Wed, Sep 10, 2014 at 3:22 AM, 曾纪川 wrote: > Thanks for the answer. If I use client.bind("ipc://yo:15545"); server will > receive msg as expected. If not use bind, server c

[zeromq-dev] ZeroMQ contracting/consulting

2014-09-06 Thread Trevor Bernard
din.com/in/trevorbernard https://github.com/trevorbernard Warmest regards, Trevor Bernard ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Re: [zeromq-dev] Erlang style messaging

2014-08-28 Thread Trevor Bernard
Murf, It depends on how you phrase the problem -- If you only ever process the messages you receive on a single thread and in order, you will never deadlock because you don't have the necessary conditions to deadlock, which are shared state and more than one thread accessing/modifying it concurren

[zeromq-dev] JeroMQ ZMTPv3.1 Kickstarter

2014-08-23 Thread Trevor Bernard
Hi, I'm trying to gauge if there is any interest in funding a JeroMQ kickstarter/indiegogo. For those who don't know me, I'm the (co-) maintainer and most active contributor for JZMQ, JeroMQ, and CLJZMQ, etc. I'm in the position where I can dedicate my entire efforts to this starting late Septemb

Re: [zeromq-dev] Samples of ZMTP?

2014-08-11 Thread Trevor Bernard
https://github.com/zeromq/libzmtp is a portable c implementation. https://github.com/zeromq/zmtp-java is a rough java implementation that _only_ handles negotiation. On Mon, Aug 11, 2014 at 5:04 PM, Stéphane Wirtel wrote: > Here is the reference: http://rfc.zeromq.org/spec:37 > > On 11 Aug 2014,

Re: [zeromq-dev] Commercial Support

2014-07-28 Thread Trevor Bernard
> I would guess from your reply that iMatrix might not support the JVM > implementations. I didn't mean to imply that iMatix might not support JVM implementations -- I was just providing an alternative option. > My use case is a business application for a commercial organisation; an > in-house bu

Re: [zeromq-dev] Commercial Support

2014-07-28 Thread Trevor Bernard
k something out. Warmest regards, Trevor Bernard On Mon, Jul 28, 2014 at 2:32 PM, techbird wrote: > Is there a commercial subscription package for 0MQ and related project > JeroMQ, Zyre, Jyre et al? > > I would like to understand if the project was used in a commercial > environment, w

[zeromq-dev] [ANN] - JZMQ 3.1.0 - A Java ZeroMQ binding

2014-07-11 Thread Trevor Bernard
I'd like to announce the immediate availability of org.zeromq/jzmq-3.1.0 on Maven Central. You can view the full changelog here: https://github.com/zeromq/jzmq/blob/master/Changelog.md Warmest regards, Trevor ___ zeromq-dev mailing list zeromq-dev

Re: [zeromq-dev] JZMQ non-blocking recvByteBuffer

2014-07-01 Thread Trevor Bernard
This is likely a typo -- I'd be happy to merge a pull request if you would be so kind to submit a patch. On Tue, Jul 1, 2014 at 6:27 PM, Petr Postulka wrote: > Hi all, > > I have a question regarding non-blocking recvByteBuffer call in JZMQ - > whenever there are no data to receive the call throw

Re: [zeromq-dev] JZMQ stable/production ready build

2014-06-29 Thread Trevor Bernard
59 AM, Petr Postulka wrote: > Hi Trevor, > > when you have a minute, do you think you can publish and tag a new build on > maven central? > > Thank you very much. > > Kind regards, > > Petr > > > On Wed, Jun 25, 2014 at 4:50 PM, Trevor Bernard > wrote: &g

Re: [zeromq-dev] JZMQ stable/production ready build

2014-06-25 Thread Trevor Bernard
> thank you for the recommendation of JeroMQ - we were using it so far and it > is definitely a very nice project I have to say. But for our upcoming > project we need the best performance we can get and probably a multicast > too. These are the reasons why we are "forced" to use JZMQ ... >From my

Re: [zeromq-dev] JZMQ stable/production ready build

2014-06-25 Thread Trevor Bernard
Hi Petr, I'll publish and tag a new build on central at some point this evening. Work still needs to be done to include the .dll, .so and .dylib native bindings inside the jar. I've tried in the past but it's not a simple task to define that build process. -Trevor On Wed, Jun 25, 2014 at 10:26 A

Re: [zeromq-dev] Distribution of ZeroMQ contributors

2014-06-12 Thread Trevor Bernard
8 > Sergei Almazov 18371 > Martin Sustrik 17462 > Trevor Bernard 16838 > evoskuil 15540 > John Gozde 13154 > miniway 10439 > Martin Hurton 9222 > tobsen 8301 > Ben Gray 7832 > somdoron 6784 > Martin Lucina 5810 > Brian E. Granger 5156 > Amir Taaki 4610 >

[zeromq-dev] [ANN] zmq-jni - Simple JNI interface to libzmq

2014-06-11 Thread Trevor Bernard
Hi, I'm pleased to announce zmq-jni -- a simple interface to libzmq that attempts to maintain the same interface as libzmq and is meant to be a building block for other ZeroMQ JVM libraries. This started out as a project for me to profile libzmq/JNI performance and experiment with building cross

[zeromq-dev] [ANN] - JeroMQ 0.3.4 - A pure Java clone of libzmq

2014-05-22 Thread Trevor Bernard
I'd like to announce the immediate availability of org.zeromq/jeromq-0.3.4 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

Re: [zeromq-dev] CZMQ ZSock style in Java

2014-05-12 Thread Trevor Bernard
Probably best to track the branch instead of the particular commit: https://github.com/trevorbernard/jeromq/compare/zsocket On Mon, May 12, 2014 at 10:48 PM, Trevor Bernard wrote: > Hi, > > I took some time tonight at a first pass for ZSock style Socket > management in JeroMQ. i.e.

[zeromq-dev] CZMQ ZSock style in Java

2014-05-12 Thread Trevor Bernard
Hi, I took some time tonight at a first pass for ZSock style Socket management in JeroMQ. i.e. No explicit Context management. Thoughts and comments greatly appreciated. https://github.com/trevorbernard/jeromq/commit/8abdbaeaa052eb45bf2daa8181aa0e70a5c38cf9 -Trev

Re: [zeromq-dev] configure: error: cannot find zmq.h -- on CentOS, at building jzmq/v3.0.0

2014-05-05 Thread Trevor Bernard
Try running sudo idconfig and see if it's still an issue On Mon, May 5, 2014 at 1:50 PM, artemv zmq wrote: > I'm on CenOS 6 getting following configure: error: cannot find zmq.h > > at "./configure" step . > > Here's command log: > > checking for a BSD-compatible install... /usr/bin/install -

Re: [zeromq-dev] Increasing transparently ZMQ performance up to 2400%

2014-02-27 Thread Trevor Bernard
Not necessarily -- if your network stack is in user space, you can bypass the kernel all together. On Thu, Feb 27, 2014 at 10:56 AM, Lindley French wrote: > One question: Don't you have to get to the kernel eventually if you're > really going out on the network? How does UFS help in this case? It

Re: [zeromq-dev] JZMQ Windows Instructions

2014-02-14 Thread Trevor Bernard
Awesome stuff! On Fri, Feb 14, 2014 at 11:05 AM, artemv zmq wrote: > Hello Joerg.Specht, > > Recently I have created the guide for my team. They are happy, it usually > takes near 15 min, if you did it before. > > Check it out. > > ZMQ build guide for win7_x64 (for dev) > > > > Install CMake >

Re: [zeromq-dev] Call for funding? (Not a roadmap, promise!)

2014-01-20 Thread Trevor Bernard
I was thinking about the same thing over the holidays. I have a partial implementation of ZMTPv3 for JeroMQ. On Mon, Jan 20, 2014 at 9:34 AM, Kenneth Adam Miller wrote: > Open a donation line I will give. > > > On Mon, Jan 20, 2014 at 7:32 AM, Pieter Hintjens wrote: >> >> Hi all, >> >> I'm think

Re: [zeromq-dev] Peer ip address ?

2014-01-15 Thread Trevor Bernard
Simple solution is have the downstream service identify itself in the handshake with it's IP address On Wed, Jan 15, 2014 at 2:01 PM, Andrew Hume wrote: > every time i have wanted this, it turned out that it was a stupid way to do > what i really wanted. > to me, it comes down to this: > > 1) do

[zeromq-dev] [ANN] - JeroMQ 0.3.3 - A pure Java clone of libzmq

2013-12-31 Thread Trevor Bernard
I'd like to announce the immediate availability of org.zeromq/jeromq-0.3.3 on Maven Central. You can view the full changelog here: https://github.com/zeromq/jeromq3-x/blob/master/CHANGELOG.md Warmest regards, Trevor ___ zeromq-dev mailing list zer

Re: [zeromq-dev] "Windows 64bit Build Instructions" are no longer valid for jzmq4 .

2013-12-20 Thread Trevor Bernard
I suppose it is possible to get the directory structure back to jzmq3 but it might not be worth the effort. It involves choosing a commit before the restructure then cherry picking individual patches that make up jzmq4. The build instructions should be updated to reflect the current state of thing

Re: [zeromq-dev] Calling connect more than once on the same endpoint

2013-12-14 Thread Trevor Bernard
result > is nonsensical > Solution: SUB socket should not allow multiple connects to same PUB endpoint. > > An issue will just rot, so you may want to find a way to send a patch > to fix this problem. > > > On Thu, Dec 12, 2013 at 8:09 PM, Trevor Bernard > wrote: >> S

Re: [zeromq-dev] Calling connect more than once on the same endpoint

2013-12-12 Thread Trevor Bernard
ub this produces nonsense results but in other patterns it can be >> used to do things like prioritize one node over others (e.g. a PULL >> that connects twice to a PUSH). >> >> On Wed, Oct 16, 2013 at 4:17 PM, Trevor Bernard >> wrote: >>> I have a PUB/SUB top

[zeromq-dev] [ANN] - JeroMQ 0.3.2 - A pure Java clone of libzmq

2013-12-11 Thread Trevor Bernard
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

Re: [zeromq-dev] Fwd: core dump when running zeromq example

2013-12-11 Thread Trevor Bernard
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

Re: [zeromq-dev] merge commits in libzmq clutter the commit space.

2013-12-06 Thread Trevor Bernard
>> I personally like having a no fast forward merge. > > I've no idea what that means... could you explain? Lets say you are merging in a branch "B" into "A". If "A" is directly upstream from "B" git will just move the branch "A" onto "B". This is a "Fast forward". Pull requests are a non fast for

Re: [zeromq-dev] merge commits in libzmq clutter the commit space.

2013-12-06 Thread Trevor Bernard
I personally like having a no fast forward merge. This is the rule of thumb I try to follow: One thought/change per commit and have the commit message be in the imperative. It makes it easier to cherry pick and understand how the commit will affect the code. On Fri, Dec 6, 2013 at 2:55 PM, Pieter

Re: [zeromq-dev] Wrapping a C API in JNI?

2013-11-18 Thread Trevor Bernard
On Mon, Nov 18, 2013 at 2:45 PM, shancat wrote: > struct drops_t { > void *pipe; > zctx_t *ctx; > }; > > drops_t * drops_new (const char *directory); > void drops_destroy (drops_t **self_p); > > The main problem is that I don't know the proper way to manage the drops_t > struct If you wan

Re: [zeromq-dev] TIPC clustering protocol support in libzmq

2013-11-04 Thread Trevor Bernard
http://hintjens.com/blog:70 On Mon, Nov 4, 2013 at 11:15 AM, Andrew Hume wrote: > where is teh article? > > On Nov 4, 2013, at 10:13 AM, Pieter Hintjens wrote: > > Hi all, > > Just to let everyone know that libzmq master now supports the tipc:// > transport, which wraps the TIPC clustering protoc

[zeromq-dev] [ANN] JeroMQ 0.3.1 - A pure Java clone of libzmq

2013-11-03 Thread Trevor Bernard
I'd like to announce the immediate availability of org.zeromq/jeromq-0.3.1 on Maven Central. I'd also like to thank Min Yu for all his hard work on JeroMQ. You can view the changelog here: https://github.com/zeromq/jeromq/blob/master/CHANGELOG.md Warmest regards, Trevor

Re: [zeromq-dev] JZMQ socket.setIdentity() doesn't work with ZMQ 4.0.1

2013-10-16 Thread Trevor Bernard
Resolved. https://github.com/zeromq/jzmq/pull/261 On Wed, Oct 16, 2013 at 11:08 AM, Trevor Bernard wrote: > Hi Joel, > > Can you create an issue and a pull request for this in Github? > > https://github.com/zeromq/jzmq/issues?state=open > > -Trev > > > On Wed,

Re: [zeromq-dev] Calling connect more than once on the same endpoint

2013-10-16 Thread Trevor Bernard
g. a PULL > that connects twice to a PUSH). > > On Wed, Oct 16, 2013 at 4:17 PM, Trevor Bernard > wrote: >> I have a PUB/SUB topology and I accidently called connect twice to the >> same PUB endpoint and received duplicate messages. This holds true for >> N connects

  1   2   >