Skip to main content
Cloacina Documentation
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

Tutorials

Computation Graph Tutorials

Learn Cloacina’s computation graph system through progressive, hands-on tutorials.

Library (Embedded)

Start here. These tutorials teach you to define and run computation graphs directly in your Rust application.

  1. Your First Graph — Define nodes, declare topology, run a compiled graph
  2. Accumulators — Buffer events with accumulators and wire to reactors
  3. Full Pipeline — Multiple accumulators, reactor, when_any, terminal outputs
  4. Routing — Multi-branch graphs with conditional routing

Service (Server Mode)

Deploy computation graphs as services with external event ingestion.

  1. Packaging — Build .cloacina packages for computation graphs
  2. WebSocket Events — Receive events via WebSocket endpoints
  3. Kafka Streaming — Connect to Kafka for high-throughput event processing