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

Aeron publication suddenly stops message transmission

I have the stream which suddenly (after number of successfully transmitted messages) stops sending|receiving messages. The output of AeronStat for it is: 47 : 8,452,864 - pub-pos (sampled): 9 -813703616 1 aeron:udp?endpoint=localhost:40100 48 :…
denisxor
  • 66
  • 3
1
vote
1 answer

when using Aeron for Android

I create client Aeron on the Android app. Unfortunately, Aeron is using Agrona which relies on sun.misc.Unsafe. Android don't support sun.misc.Unsafe. Log error: I/ientapplicatio: Rejecting re-init on previously-failed class…
1
vote
1 answer

Can Aeron lose messages?

If I offer a message via Publication to some channel (IPC or UDP) and this operation returns a positive value (new position) that means that data were written on disk (fsynced to /dev/shm) or not? In other words... does Aeron relies on pagecache or…
rvit34
  • 1,967
  • 3
  • 17
  • 33
1
vote
1 answer

How to persist the egress messages of Aeron cluster

My Aeron cluster clients share an identical output stream, and I want to be able to persist it for playback at a later time. Can anyone offer some ideas?
Kamma
  • 11
  • 1
1
vote
1 answer

Is it possible to add members to Aeron Cluster w/o reconfiguring existing ones?

I'm looking for a way to add new members to existing Aeron cluster without reconfiguring existing ones. It seems cluster members are defined statically during startup as described in the Cluster Tutorial: final ConsensusModule.Context…
Svilen Ivanov
  • 359
  • 1
  • 12
1
vote
1 answer

Aeron - Issues with Multicast across Switches

I am trying to run a Basic Publisher/Subscriber pair on the same Multicast/Port. It works perfectly when the hosts are connected to the same Switch, but not if the subscriber is on a different Switch. Publisher java…
seeker1291
  • 41
  • 5
1
vote
1 answer

Aeron getting rates from CME UDP multicast using RateSubscriber.cpp

I can easily get rates from the New release UDP stream using winsockets, but for some reason I can't get any rates using aeron. I am using the RateSubscriber project and the following URI: const static std::string DEFAULT_CHANNEL =…
Jerome
  • 11
  • 1
1
vote
2 answers

Aeron Messaging Pattern for Pub/Sub, One Way and Competing Consumer

Currently i'm in the process of assessing Aeron for our High-frequency trading use case. As i see from the documentationm Aeron is basically the transport. Is that some higher level implementation like competing consumer, fair dispatch or pattern…
Welly Tambunan
  • 160
  • 2
  • 10
1
vote
1 answer

How to dynamically designate and Aeron Cluster leader node?

I would like to direct any node in Aeron Cluster to become leader, no elections. The previous leader automatically becomes a follower, never attempting to assume leadership (unless directed externally). I looked at Cluster/Role, ClusterTool and…
Hristo Stoyanov
  • 1,508
  • 3
  • 15
  • 24
1
vote
1 answer

akka cluster- aeron not deleting temporary files

I'm working on akka cluster. Every time when akka creates an Actor system instance, it is creating huge aeron-{user}-clustersystem files under temporary directory, which consumes a lot of space. What are the akka aeron settings to be used for auto…
dgr
  • 21
  • 5
1
vote
1 answer

I don't see where a method is executed Aeron low latency library

Good morning, I am trying to understand the low lattency library aeron, I have an instance of the class Publication: Publication publication=new Publication(CHANNEL, STREAM_ID); Where: CHANNEL=System.getProperty("aeron.sample.channel",…
david.t_92
  • 1,971
  • 1
  • 11
  • 15
0
votes
1 answer

Aeron cluster - Event stream and avoiding duplicates

So for context, I have a recorded event stream published from an Aeron Cluster for API gateways to consume. This is separate from the clients egress channel. For any successful state change, the cluster will publish an event to the event stream. The…
David Teh
  • 61
  • 5
0
votes
1 answer

Using Aeron on same host and media driver count

I would like to use Aeron on the same host using IPC as media. Do I have to run two media drivers or is just one sufficient?
Guillaume Paris
  • 10,303
  • 14
  • 70
  • 145
0
votes
1 answer

Is it possible to run a c-media driver and the archive media driver that records the streams in the c-media driver

I have a bunch of C++ applications that want to use the low latency c-media driver for the lowest latency. There is also a need to access past messages when a new subscriber joins or an existing one crashes and restarts. Want to leverage the…
0
votes
1 answer

Why does Aeron Archive recordingId increase for same recording?

I have an ArchiveHost, tinkered together according to the examples on aeroncookbook.com. The archive host has a Publication that is recorded. It also has a Subscription - all messages from the subscription are "forwarded" to the recorded…
Lauda
  • 1