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

C++ client : Ensuring Message Consumption Consistency in Aeron with Multiple Consumers on same channel

I have a scenario where I'm using Aeron messaging library with multiple consumers consuming from the same channel. I want to ensure that each message is consumed by only one consumer to avoid duplication and guarantee consistency across consumers.…
dopller
  • 291
  • 3
  • 13
0
votes
0 answers

About leader election time costs question

We have a service built by 16 AeronClusters. Each AeronCluster contains 3 nodes, so we have 48 nodes in total. When we do the release, we will send command "kill -15" to leader node, and then it will execute function…
Lei
  • 1
0
votes
1 answer

Why Aeron multicast is much slower than raw Tcp implementation

I am testing multicast of Aeron vs raw TCP server - client. Aeron model setup: MD processes on each node Starting 1 Publication and 1 Subscriber Raw Tcp server client: Server: 1 Thread to push 1 million integer messages Client: 1 Thread…
0
votes
1 answer

Why do aeron publication image positions take part in flow control during the linger state?

When a untethered subscription falls behind, after untethered window limit timeout in the bottom 1/4 of the receive window it will transition to the linger state, it will then spend another period of time (untethered window limit timeout again)…
Reiss
  • 3
  • 2
0
votes
0 answers

How to route Aeron UDP connection inside K8s?

We have a cluster of Aeron running outside of K8s, and some number of clients running inside K8s. Because we may have a number of pods per client need to route cluster incoming traffics to the pod but couldn't find a solution. Because traffics are…
0
votes
0 answers

How to use aeron to transmit video stream in multicast mode

In my scenario, each frame of data is collected from the camera, and then sent to the receiver in a multicast manner. Video data is 50 frames per second, 1.0Gbps. Can Aecor do this?
0
votes
0 answers

Suspect I'm running into replayer thread blocking

When I was using AeronArchive.replay(), I got an exception saying "no connection established for replay". Thread config:ArchiveThreadingMode.DEDICATED channel: aeron:ipc Method signature: public Subscription replay( final long…
mr.chen
  • 9
  • 3
0
votes
0 answers

Aeron messaged consumed twice when concurrent messages published

I'm toying with a websocket server that sends messages to an aeron publication. These get consumed by a subscription and this normally works fine. Published messages are consumed by an Agent backed subscription. However, when 2 messages are sent…
Galder Zamarreño
  • 5,027
  • 2
  • 26
  • 34
0
votes
1 answer

How can I shard request using Aeron Cluster

I'd like to understand the capabilities of Aeron Clusters with respect to sharing requests across different back-end cluster application instances. I am thinking of something similar to partitions in Kafka where distinct back-end consumer processes…
0
votes
1 answer

Retention the same Recording after Publisher Application restart in Aeron

Have a sender/pubisher application sending message in multicast channel, and there is another instance Archive recording this message (using startRecording() call) However, after restart the sender/publisher application. The Archive closed the…
Joe
  • 1
  • 1
0
votes
1 answer

Aeron stream/session becomes unavailable on one host and never recovers

I have an aeron stream over multicast, some hosts subscribed to the stream see new sessions but then have their images go unavailable very quickly. These hosts then never see those images become available again. Whilst other hosts successfully…
Reiss
  • 3
  • 2
0
votes
1 answer

For Aeron cluster, is there a max value for the term number?

I am reading some material of how clustered Aeron. It says Aeron use the Raft Consensus Algorithm to synchronize between nodes, where the leader is determined by checking if the node has the latest term number (and the logs as well). My…
ChrisZ
  • 482
  • 2
  • 11
  • 26
0
votes
2 answers

What is the reason for the increase of heap usage when the aeron cluster is idle?

We use the aeron library. And after monitoring the heap when the system is completely idle, we saw that the heap usage increases, and after checking the logs, we found these things. What is the reason for this increase? The monitoring result has…
0
votes
1 answer

why function aeron_driver_context_bindings_clientd_create_entries is invoked twice during the aeronmd init process?

During the aeronmd's main process of aeron-driver in c code, function aeron_driver_context_bindings_clientd_create_entries is invoked twice, one in aeron_driver_context_init and another in aeron_driver_init. Is that a duplication? or there are some…
Avalon
  • 321
  • 1
  • 2
  • 8
0
votes
0 answers

Aeron: Recording of stream via spy subscriptions stopping unexpectedly

I have an issue with an Aeron application that uses an ArchivingMediaDriver and spy subscriptions to record a publication, where the corresponding recording at times becomes inactive, i.e. recording is stopped. The application consists of two…