examples/

directory
v0.30.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 4, 2026 License: MIT

README

Examples

Working examples demonstrating clstr's pillars in action.

Example Pillars Description
counter Cluster + Actor Distributed counter with HTTP API and Prometheus metrics
accounting Cluster + Actor + ES Event-sourced bank accounts with full persistence
loadtest Event Sourcing Performance benchmark for aggregate operations

Quick start

# Interactive counter demo
cd examples/counter && go run .

# Automated accounting demo
cd examples/accounting && go run .

# Performance benchmark
cd examples/loadtest && go run .

See each example's README for detailed documentation.

Directories

Path Synopsis
Package main is a performance benchmark for the Event Sourcing pillar.
Package main is a performance benchmark for the Event Sourcing pillar.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL