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
0
votes
0 answers

Aeron driver timeout when replaying a recorded publication

I have a simple setup of a single recorded publication and periodic replay. I observed the following exception on the media-driver side when I am trying to replay the data: io.aeron.exceptions.DriverTimeoutException: FATAL - MediaDriver keepalive…
user1819047
  • 667
  • 9
  • 18
0
votes
0 answers

c# won't connect to multicast using Aeron.NET

Is anyone familiar with Aeron.NET using c#? I'm trying to simply open a connection to a multicast and am not able to do so. I can successfully use netcat to see a transmission to the 'udp' address but it will not connect. Code using System; using…
MX313
  • 129
  • 1
  • 9
0
votes
1 answer

What ports do I need to open for firewall for Aeron Cluster to work?

I have an Aeron Cluster working at AWS nodes and I also have a cluster client locally (ie my box) and I try to talk to it... In terms of security, I only opened the cluster Ingress UDP port to allow my box to go through. When I try to connect, I can…
Theboy
  • 353
  • 1
  • 2
  • 8
0
votes
1 answer

Connect Aeron between two separated machines

Is it possible to send messages with aeron between 2 separated machines that are not in the same local network? If so, how do you connect to the Media driver remotely. Thanks
Daniel Cardenas
  • 2,826
  • 2
  • 19
  • 17
0
votes
1 answer

Is it possible to reduce the timeout (10s?) during cluster update by actively shutting down the leader?

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…
supergaga
  • 13
  • 4
0
votes
0 answers

Aeron spy subscriptions and flow control

I want to record a publication with SourceLocation.LOCAL to benefit from the zero-copy spy archive subscriptions. However the documentation says that spy subscriptions do not factor in receiver flow control strategies. Assume there is only one other…
0
votes
1 answer

Aeron ReplayMerge never merges

My ReplayMerge gets stuck in state ATTEMPT_LIVE_JOIN, then times out due to no progress. It adds the live destination with no issues (I see the corresponding subscription appear in aeron-stat and the onImageAvailable callback is invoked). Eventually…
0
votes
1 answer

Aeron ArchiveException

I have a problem in loading cluster nodes on aeron . when node start to load logs from archive , the following error occurs: io.aeron.exceptions.TimeoutException: ERROR - Archive connect timeout: step=3…
0
votes
1 answer

Publisher starts to receive constants back pressure

I start to use Aeron but faced the issue that over the time (exactly 3-4 hours after start) broadcast publishers receive constant backpressure. My setup is the following: Both publishers and subscribers are launched on the very same machine: This…
0
votes
1 answer

session recovery best practice in Aeron

How to recover a closed session from the client-side in Aeron? Imagine that our Aeron server-side is down and killed, now clients need to have a proper plan to re-connect when the server is available. is there any best practice for this issue?
0
votes
1 answer

how config aeron channel by udp multicast, all subs can receive messages?

I am trying to run a Basic Publisher/Subscriber pair on the same Multicast/Port. I want to know how config channel for udp multicast, special the "interface" paramter, all subs can receive messages from pub? I have three matchines, I want to test…
sunbiaozj
  • 1
  • 1
0
votes
1 answer

Aeron cluster intercommunication

i want to understand aeron cluster inter communication Hi, I am new in Aeron Cluster and I try to understand the relations between the various cluster's components. From https://github.com/real-logic/aeron/wiki/Cluster-Tutorial : 4.3. Running the…
0
votes
3 answers

Aeron publication side concurrency issue on singleton request buffer

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…
MohamadReza
  • 43
  • 2
  • 11
0
votes
1 answer

What is the purpose of snapshot in Aeron Cluster?

I started learning about Raft as well as Aeron Cluster lately. One thing I come across is Aeron has the notion of taking snapshot to save the state of the machine. According to Raft, all the followers should have the same state as the leader. In…
Theboy
  • 353
  • 1
  • 2
  • 8
0
votes
1 answer

How to pass payload to Aeron handler?

I use the Aeron client implementation in C. And I need to make closure. But there are no closures in C... For example: void poll_handler(void *clientd, const uint8_t *buffer, size_t length, aeron_header_t *header) { aeron_subscription_t*…
nomnoms12
  • 103
  • 1
  • 5