Hi There,
I ran a really simple ZeroMQ one PUB and one SUB on my machine which
is i5 processor macbook and am getting low numbers. It is just 3300
msgs/sec.
and sometimes I am also missing some messages. Please let me know if
these are expected numbers or I am missing something here.
Regards,
Meetu Maltiar
www.knoldus.com
www.knoldus.wordpress.com
--
You received this message because you are subscribed to the Google Groups "Akka User List" group.
To post to this group, send email to akka...@googlegroups.com.
To unsubscribe from this group, send email to akka-user+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/akka-user?hl=en.
On Mar 29, 2012, at 13:48 , Meetu Maltiar wrote:
> I created the issue here
> http://www.assembla.com/spaces/akka/tickets/1963-akka-zeromq-module-performance-is-way-slower-than-standalone-scala-based-examples
>
Thanks, I’m looking into it. Initial findings:
- ZMQApplication ca 4000msg/sec, but that goes up to 6600msg/sec when using 100,000 messages (not that it matters that much)
- ZMQWithoutAkkaExtensionApp ca. 22000msg/sec
- ZMQPub/Sub ca. 27000msg/sec
all on MacBook Pro 15" 2.2GHz, and I did “brew install zeromq” which gave me 2.1.11. I’ve seen that the first one uses twice the #cores for the first half of the time and then drops, which is a marked difference to the second.
> Meanwhile I am looking for a workaround. I am thinking of using Akka
> based version of publisher and subscriber. I can override prestart in
> them to create publisher socket in Publisher and Subscriber socket in
> Subscriber and call recv in a loop.
>
My guess is that trying to avoid that last half sentence is what’s ruining it (not sure at all, just a hunch).
Regards,
Roland
Roland Kuhn
Typesafe – The software stack for applications that scale.
twitter: @rolandkuhn
On Mar 29, 2012, at 16:47 , Meetu Maltiar wrote:
> Our dev machines are same and the results are similar as well. For
> your reference; we had found earlier that scala binding for ZeroMQ was
> also slowing our application. Here is the link for your reference
> https://github.com/kro/zeromq-scala-binding/issues/6.
>
Yes, seeing that, I am considering replacing the zeromq-scala-binding dependency with jzmq, will see how big the differences are. And I think I also found at least one reason for slowness, and it is within the implementation of the polling loop (bouncing Futures across different thread pools). I’ll ping you as soon as I have something you can test.
Regards,
Roland
Roland
Awesome Roland.
>>>>>>>>>> akka-user+unsubscribe@googlegroups.com.
>>>>>>>>>> For more options, visit this group at
>>>>>>>>>> http://groups.google.com/group/akka-user?hl=en.
>>
>>>>>>>>> --
>>>>>>>>> Patrik Nordwall
>>>>>>>>> Typesafe <http://typesafe.com/> - The software stack for
>>>>> applications
>>>>>>> that
>>>>>>>>> scale
>>>>>>>>> Twitter: patriknw
>>
>>>>>>> --
>>>>>>> You received this message because you are subscribed to the Google
>>>>> Groups
>>>>>>> "Akka User List" group.
>>>>>>> To post to this group, send email to akka...@googlegroups.com.
>>>>>>> To unsubscribe from this group, send email to
>>>>>>> For more options, visit this group at
>>>>>>> http://groups.google.com/group/akka-user?hl=en.
>>
>>>>> --
>>>>> You received this message because you are subscribed to the Google Groups
>>>>> "Akka User List" group.
>>>>> To post to this group, send email to akka...@googlegroups.com.
>>>>> To unsubscribe from this group, send email to
>>>>> For more options, visit this group at
>>>>> http://groups.google.com/group/akka-user?hl=en.
>>
>>>> --
>>>> Jonas Bonér
>>>> CTO
>>>> Typesafe - The software stack for applications that scale
>>>> Phone: +46 733 777 123
>>>> Twitter: @jboner
>>
>>> --
>>> You received this message because you are subscribed to the Google Groups "Akka User List" group.
>>> To post to this group, send email to akka...@googlegroups.com.
>>> To unsubscribe from this group, send email to akka-user+unsubscribe@googlegroups.com.
>>> For more options, visit this group athttp://groups.google.com/group/akka-user?hl=en.
>>
>> Roland Kuhn
>> Typesafe – The software stack for applications that scale.
>> twitter: @rolandkuhn
>
> --
> You received this message because you are subscribed to the Google Groups "Akka User List" group.
> To post to this group, send email to akka...@googlegroups.com.
> To unsubscribe from this group, send email to akka-user+unsubscribe@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/akka-user?hl=en.
>
Roland Kuhn
Typesafe – The software stack for applications that scale.
twitter: @rolandkuhn
--
You received this message because you are subscribed to the Google Groups "Akka User List" group.
To post to this group, send email to akka...@googlegroups.com.
To unsubscribe from this group, send email to akka-user+unsubscribe@googlegroups.com.
--Jonas BonérCTO
Typesafe - The software stack for applications that scale
Phone: +46 733 777 123
Twitter: @jboner--
You received this message because you are subscribed to the Google Groups "Akka User List" group.
To post to this group, send email to akka...@googlegroups.com.
To unsubscribe from this group, send email to akka-user+unsubscribe@googlegroups.com.
Roland
Awesome Roland.
>>>>>>>>>> akka-user+unsubscribe@googlegroups.com.
>>>>>>>>>> For more options, visit this group at
>>>>>>>>>> http://groups.google.com/group/akka-user?hl=en.
>>
>>>>>>>>> --
>>>>>>>>> Patrik Nordwall
>>>>>>>>> Typesafe <http://typesafe.com/> - The software stack for
>>>>> applications
>>>>>>> that
>>>>>>>>> scale
>>>>>>>>> Twitter: patriknw
>>
>>>>>>> --
>>>>>>> You received this message because you are subscribed to the Google
>>>>> Groups
>>>>>>> "Akka User List" group.
>>>>>>> To post to this group, send email to akka...@googlegroups.com.
>>>>>>> To unsubscribe from this group, send email to
>>>>>>> For more options, visit this group at
>>>>>>> http://groups.google.com/group/akka-user?hl=en.
>>
>>>>> --
>>>>> You received this message because you are subscribed to the Google Groups
>>>>> "Akka User List" group.
>>>>> To post to this group, send email to akka...@googlegroups.com.
>>>>> To unsubscribe from this group, send email to
>>>>> For more options, visit this group at
>>>>> http://groups.google.com/group/akka-user?hl=en.
>>
>>>> --
>>>> Jonas Bonér
>>>> CTO
>>>> Typesafe - The software stack for applications that scale
>>>> Phone: +46 733 777 123
>>>> Twitter: @jboner
>>
>>> --
>>> You received this message because you are subscribed to the Google Groups "Akka User List" group.
>>> To post to this group, send email to akka...@googlegroups.com.
>>> To unsubscribe from this group, send email to akka-user+unsubscribe@googlegroups.com.
>>> For more options, visit this group athttp://groups.google.com/group/akka-user?hl=en.
>>
>> Roland Kuhn
>> Typesafe – The software stack for applications that scale.
>> twitter: @rolandkuhn
>
> --
> You received this message because you are subscribed to the Google Groups "Akka User List" group.
> To post to this group, send email to akka...@googlegroups.com.
> To unsubscribe from this group, send email to akka-user+unsubscribe@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/akka-user?hl=en.
>
Roland Kuhn
Typesafe – The software stack for applications that scale.
twitter: @rolandkuhn
--
You received this message because you are subscribed to the Google Groups "Akka User List" group.
To post to this group, send email to akka...@googlegroups.com.
To unsubscribe from this group, send email to akka-user+unsubscribe@googlegroups.com.
--Jonas BonérCTO
Typesafe - The software stack for applications that scale
Phone: +46 733 777 123
Twitter: @jboner--
You received this message because you are subscribed to the Google Groups "Akka User List" group.
To post to this group, send email to akka...@googlegroups.com.
To unsubscribe from this group, send email to akka-user+unsubscribe@googlegroups.com.
Roland
Awesome Roland.
>>>>>>>>>> akka-user+unsubscribe@googlegroups.com.
>>>>>>>>>> For more options, visit this group at
>>>>>>>>>> http://groups.google.com/group/akka-user?hl=en.
>>
>>>>>>>>> --
>>>>>>>>> Patrik Nordwall
>>>>>>>>> Typesafe <http://typesafe.com/> - The software stack for
>>>>> applications
>>>>>>> that
>>>>>>>>> scale
>>>>>>>>> Twitter: patriknw
>>
>>>>>>> --
>>>>>>> You received this message because you are subscribed to the Google
>>>>> Groups
>>>>>>> "Akka User List" group.
>>>>>>> To post to this group, send email to akka...@googlegroups.com.
>>>>>>> To unsubscribe from this group, send email to
>>>>>>> For more options, visit this group at
>>>>>>> http://groups.google.com/group/akka-user?hl=en.
>>
>>>>> --
>>>>> You received this message because you are subscribed to the Google Groups
>>>>> "Akka User List" group.
>>>>> To post to this group, send email to akka...@googlegroups.com.
>>>>> To unsubscribe from this group, send email to
>>>>> For more options, visit this group at
>>>>> http://groups.google.com/group/akka-user?hl=en.
>>
>>>> --
>>>> Jonas Bonér
>>>> CTO
>>>> Typesafe - The software stack for applications that scale
>>>> Phone: +46 733 777 123
>>>> Twitter: @jboner
>>
>>> --
>>> You received this message because you are subscribed to the Google Groups "Akka User List" group.
>>> To post to this group, send email to akka...@googlegroups.com.
>>> To unsubscribe from this group, send email to akka-user+unsubscribe@googlegroups.com.
>>> For more options, visit this group athttp://groups.google.com/group/akka-user?hl=en.
>>
>> Roland Kuhn
>> Typesafe – The software stack for applications that scale.
>> twitter: @rolandkuhn
>
> --
> You received this message because you are subscribed to the Google Groups "Akka User List" group.
> To post to this group, send email to akka...@googlegroups.com.
> To unsubscribe from this group, send email to akka-user+unsubscribe@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/akka-user?hl=en.
>
Roland Kuhn
Typesafe – The software stack for applications that scale.
twitter: @rolandkuhn
--
You received this message because you are subscribed to the Google Groups "Akka User List" group.
To post to this group, send email to akka...@googlegroups.com.
To unsubscribe from this group, send email to akka-user+unsubscribe@googlegroups.com.
--Jonas BonérCTO
Typesafe - The software stack for applications that scale
Phone: +46 733 777 123
Twitter: @jboner--
You received this message because you are subscribed to the Google Groups "Akka User List" group.
To post to this group, send email to akka...@googlegroups.com.
To unsubscribe from this group, send email to akka-user+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/akka-user?hl=en.
To view this discussion on the web visit https://groups.google.com/d/msg/akka-user/-/pQP7OXPySdgJ.
To post to this group, send email to akka...@googlegroups.com.
To unsubscribe from this group, send email to akka-user+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/akka-user?hl=en.
Is there a version number difference between the version you are using and the latest version?
Have you benched against master and/or the release-2.0 branch?
Cheers,
V
To view this discussion on the web visit https://groups.google.com/d/msg/akka-user/-/NQb5OBMEOAkJ.