--
You received this message because you are subscribed to the Google Groups "vert.x" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vertx+un...@googlegroups.com.
Visit this group at https://groups.google.com/group/vertx.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/CALuWX9P2i0CGrP4XKKfyJG%2Bay-Gb0337iZex2h-MvehcmkC_UQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "vert.x" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/vertx/N2YJjFfksEg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to vertx+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/vertx.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/9541ecc9-68e1-4a75-a1ac-6dcf090b7fcf%40googlegroups.com.
vertx.eventBus().consumer(
consumerAddress,
event ->
{
vertx.eventBus().send(
consumerAddress,
payload
);
}
)
And the contention is lower than in the variant with the reply
ThreadInfo: vert.x-eventloop-thread-0 getBlockedTime: 870 msec getWaitedTime: 16 ThreadInfo: vert.x-eventloop-thread-12 getBlockedTime: 0 msec getWaitedTime: 0 ThreadInfo: vert.x-eventloop-thread-1 getBlockedTime: 900 msec getWaitedTime: 0 ThreadInfo: vert.x-eventloop-thread-4 getBlockedTime: 0 msec getWaitedTime: 0 ThreadInfo: vert.x-eventloop-thread-6 getBlockedTime: 0 msec getWaitedTime: 0 ThreadInfo: vert.x-eventloop-thread-14 getBlockedTime: 0 msec getWaitedTime: 0 ThreadInfo: vert.x-eventloop-thread-15 getBlockedTime: 0 msec getWaitedTime: 0 ThreadInfo: vert.x-eventloop-thread-9 getBlockedTime: 894 msec getWaitedTime: 2 ThreadInfo: vert.x-eventloop-thread-11 getBlockedTime: 822 msec getWaitedTime: 0 ThreadInfo: vert.x-eventloop-thread-13 getBlockedTime: 886 msec getWaitedTime: 8 ThreadInfo: vert.x-eventloop-thread-8 getBlockedTime: 0 msec getWaitedTime: 0 ThreadInfo: vert.x-eventloop-thread-5 getBlockedTime: 851 msec getWaitedTime: 1 ThreadInfo: vert.x-eventloop-thread-2 getBlockedTime: 0 msec getWaitedTime: 0 ThreadInfo: vert.x-eventloop-thread-7 getBlockedTime: 883 msec getWaitedTime: 4 ThreadInfo: vert.x-eventloop-thread-10 getBlockedTime: 0 msec getWaitedTime: 0 ThreadInfo: vert.x-eventloop-thread-3 getBlockedTime: 851 msec getWaitedTime: 3
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/548c2d7a-376a-4970-990a-38ee33ab7dd5%40googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/849c9946-d9c2-486d-93c9-0d9cfc51d96e%40googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/492cfadf-13a0-41e7-beaa-841cfa8737b3%40googlegroups.com.
(Idea for feature request: don't use secure random for cluster reply addresses, could instead use something like: <host_name>.sequence_number)
(Idea for feature request: don't use secure random for cluster reply addresses, could instead use something like: <host_name>.sequence_number)
Thanks for the help.Does not sound to me like a feature, more like a bug. :) . The feature for me would be to use all the cpu power :)
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/6011b74f-590d-4213-a086-998eab8b7d65%40googlegroups.com.
> I suspect if you actually ran it really clustered (i.e. with verticles on different machines) you wouldn't see the issue as you wouldn't be competing for the same entropy source.The case is not so unlikely.One of the nice features is vertx is referential transparency. In my case the application can run on a single box or be split in tiers so this means that when is not a multi tier then the contention can happen as it runs locally.
I agree that in my case, the test is doing only messaging without anything else, thus probably the anything else will count for more processing than this contention.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/54dfce35-8aa5-4376-a0fd-d3a4fee35b8a%40googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/CALuWX9M6BySUoVDDO-AnLhkc6aret8pU3dcxVTqN%3DBS7%2BoD%2Bgw%40mail.gmail.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/CALuWX9PoroSrLMT9gsb0Ce4aXO-KAttDLeHqmUG5dsCY-UgwLQ%40mail.gmail.com.
To unsubscribe from this group and stop receiving emails from it, send an email to vertx+unsubscribe@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/548c2d7a-376a-4970-990a-38ee33ab7dd5%40googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/CACiEr_R3PHoBXciOvN3VTgU_M-3Qfxzq18YjrLm%3D3eObfXUXfw%40mail.gmail.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/31039c28-57b6-4130-bae0-f0a65941bbd9%40googlegroups.com.
On Mar 31, 2017, at 7:07 PM, Mihai Stanescu <mihai.s...@gmail.com> wrote:@Tim, yeah i put this to rest for now as i have other bottlenecks to fish@Julian My understanding is that vertx is inspired from actor model thus expect a high number of vehicles/handlers, otherwise if i cannot make many then what's the point of vertx.I do not have so many verticles in the app however there could be hundreds of thousands of handlers.From my tests so far, the number did not seem to affect vertx so muchOn Mar 31, 2017 6:52 PM, "Tim Fox" <timv...@gmail.com> wrote:Well, you're unnecessarily hammering this method so some contention is likely ;)I doubt very much this would be an issue in a real application for reasons already stated. If it is, we can revisit it, it shouldn't be too hard to create a version of that method that doesn't require synchronization. Or even better, submit a PR! :)
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/CALuWX9MwKXfAEkqtbNtHs%2BvcU6dPFE_%2BrjmrV47Qc8XbbA-yKQ%40mail.gmail.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/CALuWX9MhWkw2XV9T9Dv70hbW9y1N4HetJ0v6cBjT1G96O6JopA%40mail.gmail.com.
To unsubscribe from this group and all its topics, send an email to vertx+un...@googlegroups.com.
Visit this group at https://groups.google.com/group/vertx.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/9541ecc9-68e1-4a75-a1ac-6dcf090b7fcf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "vert.x" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vertx+un...@googlegroups.com.
Visit this group at https://groups.google.com/group/vertx.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/548c2d7a-376a-4970-990a-38ee33ab7dd5%40googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "vert.x" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/vertx/N2YJjFfksEg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to vertx+un...@googlegroups.com.
Visit this group at https://groups.google.com/group/vertx.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/CACiEr_R3PHoBXciOvN3VTgU_M-3Qfxzq18YjrLm%3D3eObfXUXfw%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "vert.x" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vertx+un...@googlegroups.com.
Visit this group at https://groups.google.com/group/vertx.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/CALuWX9MhWkw2XV9T9Dv70hbW9y1N4HetJ0v6cBjT1G96O6JopA%40mail.gmail.com.
--
You received this message because you are subscribed to a topic in the Google Groups "vert.x" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/vertx/N2YJjFfksEg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to vertx+un...@googlegroups.com.
Visit this group at https://groups.google.com/group/vertx.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/4B8EF0EC-300C-445B-B347-883A85A35495%40julienviet.com.
Not sure how unrealistic it is.if one wants to send ton of events on an address, then this is a valid scenario. THe contention was about 30 percent of cpu even with low number of verticles and it increases i guess with the number of verticles.
To unsubscribe from this group and all its topics, send an email to vertx+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/vertx.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/9541ecc9-68e1-4a75-a1ac-6dcf090b7fcf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "vert.x" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vertx+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/vertx.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/548c2d7a-376a-4970-990a-38ee33ab7dd5%40googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "vert.x" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/vertx/N2YJjFfksEg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to vertx+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/vertx.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/CACiEr_R3PHoBXciOvN3VTgU_M-3Qfxzq18YjrLm%3D3eObfXUXfw%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "vert.x" group.
<span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-sp