Skip to content

mtahamasood/aeron-cookbook-code

 
 

Repository files navigation

Aeron Cookbook Code Samples

Samples which should be reviewed alongside Aeron Cookbook

Note: JDK 17+ requires that --add-opens=java.base/sun.nio.ch=ALL-UNNAMED is added to the VM Options to run the examples.

Projects:

  • sbe-core and sbe-protocol - a project defining an SBE schema, along with some tests showing how to use it.
  • ipc-core and async - focused on Aeron IPC samples. Also contains the minimal Aeron one file sample.
  • aeron-core and aeron-mdc - a sample Aeron UDP client and server, with basic UDP and Multi-destination cast. Multi-destination cast example includes docker.
  • archive-core and archive-multi-host and archive-replciation - Aeron Archive samples, including multiple hosts under docker and archive replication across multiple nodes.
  • cluster-rsm and rfq - Aeron Cluster samples, using SBE for the protocol
  • theory - examples from the Distributed Systems Basics section

Requires:

  • Java 17
  • Gradle 8.4
  • Docker (to run some samples)

build

Sample code from Aeron cookbook.

About

Source code related to Aeron Cookbook

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 96.2%
  • Shell 2.6%
  • Dockerfile 1.2%