loveen / aeron-cookbook-code

Source code related to Aeron Cookbook

Home Page:https://aeroncookbook.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.3
  • Docker (to run some samples)

Tested on Ubuntu 20 + macOS 13

build

Sample code from Aeron cookbook.

About

Source code related to Aeron Cookbook

https://aeroncookbook.com

License:Apache License 2.0


Languages

Language:Java 90.5%Language:Kotlin 5.8%Language:Shell 2.5%Language:Dockerfile 1.2%