vyazelenko on master
[Java] Allow any Agrona version… [Java] Upgrade to Agrona 1.15.2. (compare)
tmontgomery on 1.15
1.15.2 released. post release bump (compare)
tmontgomery on 1.15.2
vyazelenko on master
[Java] Set version to `1.16.0-S… (compare)
vyazelenko on 1.15
Improve error messages. (cherr… [Java] Ensure that Object2*Hash… [Java] Fix `Int2ObjectCache/Int… and 1 more (compare)
vyazelenko on master
[Java] Add key equality test fo… (compare)
vyazelenko on master
[Java] Compute resizeThreshold … [Java] Tidy up. (compare)
vyazelenko on master
[Java] Add Object2IntCounterMap… (compare)
mjpt777 on master
[Java] Simplify code for common… (compare)
mikeb01 on 1.38.x
[C] Fix bug in HTTP client when… [C] Ensure that the publication… (compare)
mikeb01 on master
[C] Ensure that the publication… (compare)
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?
hi all, i try posting on stackoverflow but seems it not the appropriate place for this questions it's getting closed :D
Previously i read in docs that C Media Driver currently still on going development but doesn't support clustering like Java does. Is this still the case today? I try to look at source code but seems it's no clustering related code there. Not sure if i'm looking at right branch.
Is it a goal for C Media Driver to be in par with Java Media Driver? And which direction it will go?
thanks a lot