If load balancing does not take the traffic into account but the number of topics, then it can be possible for cluster mode to introduce some latencies I think. With non cluster mode, we manually assign topics to different instances like assigning dozens of different light topics to one instance and one very busy topic to a dedicated instance. With the cluster mode, it might very well be to end up with unbalanced instances.
If load balancing does not take the traffic into account but the number of topics, then it can be possible for cluster mode to introduce some latencies I think. With non cluster mode, we manually assign topics to different instances like assigning dozens of different light topics to one instance and one very busy topic to a dedicated instance. With the cluster mode, it might very well be to end up with unbalanced instances.With manual assignment, the busy topic ends up handled by a single node. With a multinode cluster handling everything, the busy topic will be handled by the whole cluster. At least as far as balancing is concerned, it will be in perfect balance. You might argue that there will be Kafka consumer threads for the low-traffic topics that are underutilized, but with a couple dozen Java threads sitting in a PARKED state, it doesn't immediately smell like trouble to me.
--
You received this message because you are subscribed to the Google Groups "hazelcast-jet" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hazelcast-je...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hazelcast-jet/698b126f-3eb9-44c2-8865-f7d447d81281n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hazelcast-jet/6fe01ffc-d249-4cde-b8eb-7a9cb048d4cen%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hazelcast-jet/c96dc091-3197-4583-a086-7120cab6e365n%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "hazelcast-jet" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hazelcast-je...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hazelcast-jet/c4cb74ca-73f4-41e5-8f2d-c36eccf748d4n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hazelcast-jet/8c970ee6-2a8c-4169-909e-4a6bb25f7e77n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hazelcast-jet/1c00ebba-6bd1-4bcd-a082-ce950c20f323n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hazelcast-jet/d2ee8982-ccdf-45a7-b34b-d6be7926ee2fn%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hazelcast-jet/F56B7908-D64A-42C4-A8A3-B3ECF8811581%40hazelcast.com.
.aggregate(AggregateOperation.withCreate(MutableReference<Entry<Long, HazelcastBytesHolder>>::new)
.<Entry<Long, HazelcastBytesHolder>>andAccumulate((acc, item) -> {
acc.set(item);
})
.andCombine((acc1, acc2) -> {
if (acc1.isNull()) {
acc1.set(acc2.get());
}
})
.andExportFinish(MutableReference::get))
.map(WindowResult::result)
.drainTo(Sinks.remoteMap(properties.getSinkMap(), clientConfig));
In that case I still need to map it to windowresult, right?
One more thing, to see the event time stamp, I need to deserialize the data which might also increase latency. We want to keep logic as light as possible because this is 100K messages per second. We just want to push data continously.
It does not happen all the time but happens randomly and frequently.
--
You received this message because you are subscribed to the Google Groups "hazelcast-jet" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hazelcast-je...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hazelcast-jet/7899814a-065c-4602-8931-2b00049f8cean%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "hazelcast-jet" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hazelcast-je...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hazelcast-jet/b94a6d08-a5c5-4d48-be1b-17684462e32en%40googlegroups.com.