Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Aug 15 15:47

    mjpt777 on master

    [Java] Reduce redundant work in… (compare)

  • Aug 15 13:57

    mjpt777 on master

    [Java] Reduce redundant work in… (compare)

  • Aug 15 13:37

    mjpt777 on master

    [Java] Reduce byte code bloat f… (compare)

  • Aug 15 13:18

    mjpt777 on master

    [Java] Improve tracking of IPC … (compare)

  • Aug 15 12:41

    mjpt777 on master

    [Java] Naming. (compare)

  • Aug 15 09:37

    vyazelenko on master

    [Java] Upgrade to Mockito 4.7.0. (compare)

  • Aug 15 09:29

    vyazelenko on master

    [Java] Upgrade to Mockito 4.7.0. (compare)

  • Aug 15 00:50

    mikeb01 on master

    [Java] Try to make sure that th… (compare)

  • Aug 12 15:49
    tmontgomery updated the wiki
  • Aug 12 14:57

    tmontgomery on master

    [Java]: change duration of drai… (compare)

  • Aug 12 11:00

    mjpt777 on master

    [Java] Ensure logServicedSessio… (compare)

  • Aug 12 10:46

    mjpt777 on master

    [Java] Error message. (compare)

  • Aug 12 10:29

    mjpt777 on master

    [Java] Formatting. (compare)

  • Aug 12 10:03

    mjpt777 on master

    [Java] Formatting. (compare)

  • Aug 12 09:00

    mjpt777 on master

    [C++] Increase default message … (compare)

  • Aug 12 08:49

    mjpt777 on master

    [Java] Increase default message… (compare)

  • Aug 12 01:32

    mikeb01 on master

    [Java] Add separate method for … (compare)

  • Aug 12 01:17

    tmontgomery on master

    [Java]: clarify in javadoc the … (compare)

  • Aug 11 23:53
    mikeb01 commented on d44a215
  • Aug 11 22:31

    tmontgomery on master

    [Java]: added End of Stream bit… (compare)

Bill Segall
@billsegall
I've got this sorted now I think
Bill Segall
@billsegall
@mjpt777 Is there a simple way for me to run a single Java test and log the archive output? I'd like to run only the replaymergetest and compare the logs of the archiving media-driver against mine.
Dmitry Vyazelenko
@vyazelenko
@billsegall If you want to capture the data stored in the Archive you can make the ReplayMergeTest fail (e.g. modify the test and put fail() or throw exception from it). When the test fails it will capture all of the data (media driver, Archive etc.) and store under the build/test-output directory (i.e. aeron-system-tests/build/test-output/io.aeron.archive.ReplayMergeTest-shouldMergeFromReplayToLive).
The tests usually delete the data when they start so the data is there in the corresponding archiveDir when the test ends. Thus you can simply navigate to that dir to see what is inside.
Dmitry Vyazelenko
@vyazelenko
But if you want to see the Archive log output then you need to enable agent logging. To do this you'll first need to assemble the jars (i.e. ./gradlew clean assemble -x javadoc) and then add the logging options to the test executable. Here is an example which enables admin events for the media driver and all of the events for the Archive:
-javaagent:<path_to_aeron_project>/aeron/aeron-agent/build/libs/aeron-agent-1.38.0-SNAPSHOT.jar
-Daeron.event.log=admin
-Daeron.event.archive.log=all
Bill Segall
@billsegall
Many thanks @vyazelenko
MarshalOfficial
@MarshalOfficial
Hi guys, is there any best practice to handle concurrency on publish side??
assume that we have a client that wants to handle 1 Million concurrent requests, these requests must send to the Aeron server-side via publication offer. now we have a singleton expandable array buffer that overwrites and is corrupted by concurrency.
3 replies
niclar
@niclar
@mjpt777 -Re. the encryption addon, is only the payload encrypted and with what method, does it run in a separate c process encrypting/decrypting the logbuffer, and is source code provided ?
Martin Thompson
@mjpt777
@niclar Please send an email to sales@real-logic.co.uk if you want to know more about the premium extensions.
niclar
@niclar
will do
arkadysh-tr
@arkadysh-tr
Hi,
i am new in Aeron
and Aeron Cluster
arkadysh-tr
@arkadysh-tr
Can you advice some good tutorial/video/course on deep level ? I supposed configure and launch Aeron cluster with 3 nodes ,that will run some FIX client service.I read Cook book and Cluster tutorial ,but i still feel that it is not deep enougth to be able create real product
2 replies
Martin Thompson
@mjpt777
@arkadysh-tr This channel is not for free support. Cluster is a complex topic and if you need help we can offer commercial support. Please contact sales@real-logic.co.uk from your work email address.
Aleksey
@aleksisch
Hi guys, I have publishers/subscribers setup, which works well. Now I want to send messages locally by spy interface, am I right, that all I need is add "aeron-spy:" in the beginning of url subscriber string?
Martin Thompson
@mjpt777
@aleksisch This channel is for contributors. Please ask general questions on Stackoverflow or sign up for commercial support.
Aleksey
@aleksisch
ok, thx
vsadeghi
@vsadeghi
Hi everybody, I'm looking for a solution to log all requests/errors in a log file to parse logs with ELK
Is there any best practice or sample? or what's the Aeron recommendation for this requirement?
simbob
@simbob:matrix.org
[m]
anyone tried to get it running with java 8 on mac arm64?
sunbiaozj
@sunbiaozj
hi,i am new in Aeron
sunbiaozj
@sunbiaozj
if i have three matchines, i want to test aeron by udp multicast type, three matchines in one local network(lan), if pub matchineA ip 192.168.31.100, sub1 matchineB ip 192.168.31.120, sub2 matchineC ip 192.168.31.121, i want to know how config channel for udp multicast, special the "interface" paramter, all subs can receive messages from pub? thank you!
Martin Thompson
@mjpt777
@sunbiaozj This channel is for contributors. Please use StackOverflow for questions.
sunbiaozj
@sunbiaozj
@mjpt777 ok
sunbiaozj
@sunbiaozj
224.0.1.1 is multicast ip
Marshal Do
@amoorahmat
2 replies
pcdv
@pcdv
Hi, is it expected that Aeron release 1.38.2 (Apr 2022) is still not available on maven?
Martin Thompson
@mjpt777
There where no Java changes with 1.38.2, only C/C++ changes.
pcdv
@pcdv
Got it, thanks. I had read about performance improvements in this release, but I missed this detail
xp
@xpq-tech
I am able to send and receive fine using the simple example, but when I change the Basicpublication to send only one message at a time it fails. why?
1 reply
ratcash
@ratcashdev
hi, regarding https://github.com/real-logic/simple-binary-encoding/issues/507#issuecomment-1172939887, I was wondering, if adding a setPackageName and possibly a resetPackageName to the OutputManager interface inside Agrona would be acceptable, to switch between the schema's package and the type's package? Thing is, most (if not all) of the implementations already accept a packageName in their constructor, anyway.
3 replies
Martin Thompson
@mjpt777
@ratcashdev A big consideration with any potential change here is how the IR captures this as it can be serialised and used later.
ratcash
@ratcashdev
@mjpt777 So, in the current model (working so far in JAVA), Token[0] for types may hold a non-null packageNamefield (newly added, and set only if type is overriden in XML). I can push what I have so far, but it's far for mergable, but probably good for some general direction advice.
ratcash
@ratcashdev
When writing the encoders/decoders, a package is explicitly set for every single type (based on token[0].packageName), and reset, when the type has been written (in the finally block).
The IR encoders, for now, ignore this extra field, and therefore the output is compatible.
ratcash
@ratcashdev
at least i hope so
supergaga
@supergaga
@mjpt777 If AeronCluster wants to update the leader node when running, the cluster will face the heartbeat timeout (10s?) unavailability. Is it possible to add a signal to ClusterTools to make the leader node abdicate and let other followers actively start the election? (I tried remove-member, but the node cannot join the cluster later.
2 replies
chromafunk
@chromafunk
hi
1 reply
how can I configure the aeron-go driver directory call ?
do I have to run the driver first ?
chromafunk
@chromafunk
ok nvm got it figured out thanks
isaiahp
@0x-rust
Hi trying to understand the rationale behind the design choice why aeron udp channel is uni directional , given udp socket it self can be directional .
1 reply
isaiahp
@0x-rust
Thanks makes sense now
Daniel Cardenas
@danielcardeenas
Hello fellow aeron users.
Is it possible to connect a Publisher to another VM where the media driver is running and transmit messages with UDP?
In other words, could aeron work between two separated VMs?
3 replies
Eduard Silantyev
@eliquinox
Is there a way to simulate zombie leader node, forcing reelection programatically (context: needed for a test scenario), which then comes back as a follower? ClusterTool::suspend does not seem to have a desired effect.
1 reply
amit-wakade
@amit-wakade
Hi team, we use ARTIO FIX Engine, which uses AERON in turn, if we have to replicate the data and meta data for ARTIO FIX Engine to another node , would it be done by AERON Replication including the FIX Seq Numbers etc , does the AERON Cluster replication supported by open source license ?
4 replies
Welly Tambunan
@welly87
I found something funny. Just want to share with the team how amaze i am. Trying to use new package management for C/C++ vcpkg .. but here's the only dependencies on vcpkg.json that i found LOL
I'm so useless. So great job with the dependencies. And the only dependencies is only for dev only. :)
{
  "name": "aeron",
  "version-string": "0.1.0",
  "dependencies": [
    "gtest"
  ]
}
Welly Tambunan
@welly87

i would love to try to put aeron c/c++ media driver up on https://vcpkg.io/en/packages.html

seems not so difficult to create ports for aeron . is that something that beneficial to aeron community?
that way if we want to use it for projects we can just type

vcpkg install aeron-driver
vcpkg install aeron-client

I'm currently researching how to do modern development on C/C++. Lots of good tooling seems to come up lately.