[zeromq-dev] Websockets as a Transport ?

2015-06-07 Thread Praveen Baratam
Hello Martin, Glad to know that you are working on WebSockets in ZMQ... Whats the current status of WebSocket transport in ZeroMQ? Best, Praveen Baratam about.me <http://about.me/praveen.baratam> ___ zeromq-dev mailing list zero

[zeromq-dev] MAX ZMQ Sockets in a Context

2011-02-23 Thread Praveen Baratam
Dear All, There seems to be a *limit* on the number of zmq_sockets that can be created in a zmq_context. I am using *inproc* transport. In my tests the maximum possible is between *500-515 sockets per context *on my linux development box (Ubuntu 10.10 Desktop, Core i3 530, 4 Gb DDR3 Ram). Is thi

Re: [zeromq-dev] External Event Loop

2011-01-25 Thread Praveen Baratam
Hello Jonathan & Martin, What does it exactly mean? Does the program crash in such case or what? - Martin No it does not crash! Just that the poll/epoll will not return any events on ZMQ_FD. Here is the schematic that dint work... 1. Create a XREQ socket 2. Set the identity 3. connect to XREP e

Re: [zeromq-dev] External Event Loop

2011-01-24 Thread Praveen Baratam
// // Name: TestCase.cpp // Author : Praveen Baratam // Version : // Copyright : All Rights Reserved. // Description : Reproduce ZMQ_FD Error

Re: [zeromq-dev] External Event Loop

2011-01-02 Thread Praveen Baratam
next event. Regards, Praveen On Sun, Jan 2, 2011 at 7:27 AM, Jonathan Rockway wrote: > > Apologies if this is a dupe; the zmq-dev mail server did not like my > mail server's HELO command and rejected my previous post :) > > * On Sat, Jan 01 2011, Praveen Baratam wro

Re: [zeromq-dev] External Event Loop

2011-01-01 Thread Praveen Baratam
, Regards, Praveen On Sun, Jan 2, 2011 at 1:04 AM, Praveen Baratam wrote: > Hello Martin, > > Is there anything wrong with the TestCase I have submitted in my previous > mail? > > Me and my team are eagerly waiting for a reply from ZeroMQ team. > > We were just wondering if we

Re: [zeromq-dev] External Event Loop

2010-12-25 Thread Praveen Baratam
Merry Christmas to ZeroMQ team! On 22 Dec 2010 16:57, "Praveen Baratam" > wrote: Hello Martin, Thanks for the feed back. Attached to this email is a minimal testcase with out any dependencies that reproduces the problem. Most of the code follows the implementation of* zmq_poll*

Re: [zeromq-dev] External Event Loop

2010-12-22 Thread Praveen Baratam
poll call never returns. It accurately reproduces the problem with ZMQ_FD. Please look into it. Thank you, Dr. Praveen Baratam On Sat, Dec 18, 2010 at 2:28 PM, Martin Sustrik wrote: > Hi Praveem, > > > I even tried with Edge-Triggered semantics. >> >> Still nothing

Re: [zeromq-dev] External Event Loop

2010-12-17 Thread Praveen Baratam
attaching FileService test code to this mail. If it works out, I shall contribute a general purpose proactor pattern implementation like boost::asio for zmq sockets. Thank you, Praveen On Fri, Dec 17, 2010 at 4:14 AM, Praveen Baratam < praveen.baratam+...@gmail.com > wrote: > Thank you Marti

Re: [zeromq-dev] Question Regarding XREP

2010-12-16 Thread Praveen Baratam
recreate if its found to be in zmq. Thanks a lot for the feedback. Praveen On Thu, Dec 16, 2010 at 3:44 PM, Praveen Baratam < praveen.baratam+...@gmail.com > wrote: > Hello Dhammika, > > I will recreate the error and mail the code. > > I am not using any language

Re: [zeromq-dev] Question Regarding XREP

2010-12-16 Thread Praveen Baratam
t; On Tue, Dec 14, 2010 at 1:06 PM, Praveen Baratam > > wrote: > > Dhammika, > > Any progress with this issue? > > I was trying to recreate this, but no luck :-( > https://gist.github.com/743150/2e72d18c7f2c1274a21c7fd06f1aafc47ec9764e > Are you

Re: [zeromq-dev] External Event Loop

2010-12-15 Thread Praveen Baratam
Libev is a strictly Level-Triggered event loop wrapper. The author points out that its is required for portability. So the problem you mentioned does not arise as we are using Level-Triggered event reactor. Praveen On Thu, Dec 16, 2010 at 12:08 AM, Martin Sustrik wrote: > Hi Praveen, > > I thi

[zeromq-dev] External Event Loop

2010-12-15 Thread Praveen Baratam
Hello All, I started working on the external event loop integration for ZMQ sockets using getsocketopt and ZMQ_FD. I am using a wrapper around Libev for the OS specific event loop abstraction. But the event loop is not working on FDs from ZMQ sockets. Its not returning any events. Given below is

Re: [zeromq-dev] Question Regarding XREP

2010-12-14 Thread Praveen Baratam
Dhammika, Any progress with this issue? Thank you! On Fri, Dec 3, 2010 at 2:56 PM, Praveen Baratam < praveen.baratam+...@gmail.com > wrote: > Dear Dhammika, > > I just raised a ticket on github as per your instructions

[zeromq-dev] Pub matcher

2010-12-03 Thread Praveen Baratam
Can anybody comment about the progress of PUBLISHER side filtering in PUB-SUB topology. http://www.mail-archive.com/zeromq-dev@lists.zeromq.org/msg03513.html Its discussed previously on this mailing list. Jon, Martin, Anybody

Re: [zeromq-dev] Question Regarding XREP

2010-12-03 Thread Praveen Baratam
Dear Dhammika, I just raised a ticket on github as per your instructions. Thank you! --- On Thu, Dec 2, 2010 at 10:16 PM, Dhammika Pathirana wrote: > On Thu, Dec 2, 2010 at 1:22 AM, Praveen Baratam > > wrote: > > Dear Dha

Re: [zeromq-dev] Question Regarding XREP

2010-12-02 Thread Praveen Baratam
hirana wrote: > Hi Praveen, > > On Wed, Dec 1, 2010 at 2:19 PM, Praveen Baratam > > wrote: > > Dear Chuck, > > Thanks for the quick reply. > > Well if ever an Identity is reused, I guess the earlier socket connected > > with that identity will be orphaned and all

Re: [zeromq-dev] Question Regarding XREP

2010-12-01 Thread Praveen Baratam
D3" to the XREP in question. Will the message reach all these sockets? Is this what you suggested? Thanks for the patience. Regards, Dr. Praveen On Thu, Dec 2, 2010 at 3:19 AM, Chuck Remes wrote: > > On Dec 1, 2010, at 2:57 PM, Praveen Baratam wrote: > > > Hello All! >

[zeromq-dev] Question Regarding XREP

2010-12-01 Thread Praveen Baratam
Hello All! I was just reading the Advanced Stuff chapter of the guide and found the XREP socket as a router pretty interesting. I just need a clarification that is not found anywhere in the guide or else where. XREP(Router) uses the identity envelope to route the message to the correct connected

Re: [zeromq-dev] Connecting to a different socket after connecting and sending messages to one socket?

2010-11-20 Thread Praveen Baratam
Hello Martin, Thats exactly what I am interested in... zmq_connect (s, ...); zmq_recv (s, ...); zmq_connect (s, ...); May be we should run an experiment and see Regards, Praveen On Sat, Nov 20, 2010 at 11:02 PM, Martin Sustrik wrote: > Praveen, > > > My doubt is not about the archit

Re: [zeromq-dev] Connecting to a different socket after connecting and sending messages to one socket?

2010-11-20 Thread Praveen Baratam
connected PUB SOCKETS? Thank you for your patience and support. Regards, Praveen On 19 Nov 2010 10:24, "Chuck Remes" wrote: On Nov 18, 2010, at 3:22 PM, Praveen Baratam wrote: > Hello All! > > I have a particular situation ... This is definitely possible. Use a Streamer

[zeromq-dev] Connecting to a different socket after connecting and sending messages to one socket?

2010-11-18 Thread Praveen Baratam
st me if this is possible. Thank you, Dr. Praveen Baratam ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Re: [zeromq-dev] Reactor Pattern using zmq_poll for ZMQ_SUB sockets

2010-09-28 Thread Praveen Baratam
There's no performance advantage per se, it just does the > lookups for you. > > I've been using it for weeks in production systems, it works fine :-) > > I do need to add some clearer examples. > > Best, > > Matt > > On Sep 24, 2010, at 11:35 PM, Pra

Re: [zeromq-dev] Reactor Pattern using zmq_poll for ZMQ_SUB sockets

2010-09-24 Thread Praveen Baratam
:41 PM, Praveen Baratam wrote: > > I am trying to write a pub-sub server using ZMQ. > > The simplest way to describe my application is its a messaging server to > which clients connect using normal tcp sockets over intranet/internet. The > purpose is to exchange messages between th

Re: [zeromq-dev] Reactor Pattern using zmq_poll for ZMQ_SUB sockets

2010-09-24 Thread Praveen Baratam
gt; On Sep 24, 2010, at 1:41 PM, Praveen Baratam wrote: > > I am trying to write a pub-sub server using ZMQ. > > The simplest way to describe my application is its a messaging server to > which clients connect using normal tcp sockets over intranet/internet. The > purpose is to exchan

[zeromq-dev] Reactor Pattern using zmq_poll for ZMQ_SUB sockets

2010-09-24 Thread Praveen Baratam
I am trying to write a pub-sub server using ZMQ. The simplest way to describe my application is its a messaging server to which clients connect using normal tcp sockets over intranet/internet. The purpose is to exchange messages between them. I am using boost::asio to implement the tcp server par

[zeromq-dev] Distributed Messaging Server - Scheme

2010-09-05 Thread Praveen Baratam
Hi All, I am new to this list and to ZMQ. I am trying to make a Jabber alternative with ZMQ. The goal is to have a distributed architecture and end result should be horizontally scalable. Has anyone implemented such a messaging server? I am not trying to implement XMPP but a custom wire protoco