mikeb01 on master
[C] Flush output when printing … (compare)
mikeb01 on master
[C] Warning on failure to setup… (compare)
mjpt777 on master
Tidy up after merge of PR #257. (compare)
vyazelenko on master
[Java] Set min Agrona version t… (compare)
mikeb01 on master
[Java] Use a message to ensure … (compare)
mikeb01 on master
[CMake] Remove debug for releas… (compare)
MaxMulticastFlowControlSupplier
decide what the "fastest" consumer is? Lets say I have 5 consumers and consumer 1 is the "fastest" but starts falling behind and then #2 is further along. Will that be reflected in the flow control or is it possible for a consumer which was the fastest to hang for some reason and then slow down the other 4? if that makes sense
Hi guys! Not sure if this is the right place to post, let me know if not. I'm working on a Julia version of an Aeron client using the C++ client as a model and had a question about the position limit mechanism.
In the offer
methods in https://github.com/real-logic/aeron/blob/master/aeron-client/src/main/cpp/Publication.h position is checked against a limit (eg: https://github.com/real-logic/aeron/blob/master/aeron-client/src/main/cpp/Publication.h#L358) and if smaller publishing can continue. Shouldn't that check take into account how much data there is to be published? If, for example, the position limit is higher by one than the current position and we want to publish 100 bytes, then we will be allowed to publish, go over the limit and in extreme cases we might overwrite data which subscribers haven't read.
Thanks for the response, Michael!
What is the link between position limit here https://github.com/real-logic/aeron/blob/master/aeron-client/src/main/cpp/Publication.h#L344 and term length here https://github.com/real-logic/aeron/blob/master/aeron-client/src/main/cpp/concurrent/logbuffer/TermAppender.h#L158? I was under the impression that position limit can be different and could limit publication within the same term.
I will have a look at the C API as well. Does the shared memory driver API change often?
Hi @ronenhamias, the focus of this channel is community contribution discussion. Support questions should come through a commercial contract or via stackoverflow.
We have a cluster benchmark here: https://github.com/real-logic/benchmarks/blob/master/benchmarks-aeron/src/test/java/uk/co/real_logic/benchmarks/aeron/remote/ClusterTest.java.
@keithwong1
ConcurrentPublication
is thread safe;ExclusivePublication
is not thread safe.ConcurrentPublication
is returned fromAeron.addPublication
.ThreadingMode
for the driver is an independent feature for configuring thread usage by the driver.
But is ConcurrentPublication safe to use when multiple "processes" publish to same endpoint?