Questions tagged [aeron]

Aeron is a reliable UDP unicast, UDP multicast, and IPC message transport

See https://github.com/real-logic/Aeron for more information

83 questions
1
vote
0 answers

Aeron Messaging - Shutting down subscribed app caused other subscribed apps on the same server to stall

We have an application on Server 1 publishing data. Multiple applications (App A, B, C, D ,E for example) on Server 2 are subscribed and receiving this data. We need to upgrade one of the applications and so shutdown App E for example. This…
ak888
  • 11
  • 1
1
vote
1 answer

Why aeron spy subscribtion doesn't work with dynamic MDC publication when port is chosen by OS?

No images becomes available for spy subscription when MDC publication with dynamic control mode was created with control endpoint port set to 0 in order for OS to choose the port (ssc=true was set). Steps to reproduce: Create publication…
1
vote
1 answer

How to setup multiple concurrent subscribers for a multicast channel?

I am trying to explore the Aeron, I have a cluster of three nodes in my machine. What I am trying is setting up a simple model: one channel publisher in Node 1, and two channel subscriptions in Node 2, and Node 3. Three of them are trying to…
1
vote
1 answer

Should IPC setup be slower than UDP?

When creating an IPC publication ("aeron:ipc"), the call to Aeron.addExclusivePublication takes significantly longer to return than it does when using a UDP channel. I have tried this on Windows where on my desktop it takes around 200ms, compared to…
Bloat
  • 125
  • 1
  • 1
  • 7
1
vote
1 answer

How to setup Aeron Cluster UDP multicast

I have tried to run the cluster auction sample and do the auction's exercise Use multicast for the egress channel so that customers can see the other's prices and make better bids. What I have done is change the egress channel…
1
vote
1 answer

What is the role of struct data member aeron_udp_channel_transport_stct::bindings_clientd in Aeron C++ code?

The aeron_udp_channel_transport_stct::bindings_clientd is only found be used in aeron_udp_channel_transport_init function which set the bindings_clientd to NULL without further operations. Except some modification and assert in test cases. In the…
Avalon
  • 321
  • 1
  • 2
  • 8
1
vote
2 answers

How to purge Aeron expired archives and snapshot files?

What is best and save solution to remove expired archive files after taking snapshots and also remove invalid snapshot files in frequency?
1
vote
0 answers

Aeron cluster nodes failed to join and throw timeout exception

We have an Aeron cluster with three nodes, after starting the cluster two of the nodes throw the following error on startup. Because we take a snapshot from states, they should load the snapshot first. Consensus…
1
vote
3 answers

What are the Aeron Cluster Delivery Guarantees

In this post, there is the approved comment with the following statement: Cluster takes this to the next level by using a quorum agreement to prevent message loss in the case of node failure. I'm testing the delivery in case of one cluster node…
Frank
  • 859
  • 11
  • 24
1
vote
1 answer

How do we read from the Cluster's replicated log?

I'm currently trying to replay the inbound messages to the cluster. While the live inbound messages using a simple subscription on the logChannel and logStreamId works, I'm wondering if there's a way to "replay" the channel or read from the log via…
1
vote
1 answer

Specify a sender port

I'm guessing that there is a way to specify a port for Aeron to use when sending data over, but I can't find it. Let's say for example that Machine A has a publication to 2.2.2.2:12345. Machine B has a corresponding subscription and it works…
JulienBe
  • 123
  • 3
  • 6
1
vote
1 answer

aeron 1.37 pingpong(c) test gets a slightly higher latency number compare to 1.31.2

I've been using real-logic/Aeron(c/c++ version) for almost 2 years. Recently I was thinking of upgrading Aeron from 1.31.2 to 1.37.0. But after run the pingpong test, I got a slightly higher latency number(around 0.1 us rtt) from 1.37.0. I ran the…
boogle007
  • 13
  • 3
1
vote
1 answer

Aeron Archive - extend existing recording

I have an Aeron Archive and want to extend the existing recording, i.e. that it continuse to append messages after the service restart. I wasn't able to find any actual example how to do that, so I came with the my own code based on Aeron…
David Siro
  • 1,826
  • 14
  • 33
1
vote
1 answer

Logging In the Aeron

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?
1
vote
1 answer

C++ Build Windows build fatal error LNK1104 gmock.lib

I'm trying to build Aeron on Windows with VS2022. I have all requirements stated in README.md (eg I've installed JDK etc) and have run the build script in Developer PowerShell VS2022 using the following script $ mkdir -p cppbuild/Debug $ cd…
user69166
  • 115
  • 5