How pragmaticalabs/pragmatica works
Pragmatica is a Java backend monorepo: functional core and integrations underpin slice-based runtimes, with Aether providing clustered deployment and Terra providing single-JVM execution. The documented Aether path is to compose/deploy slices, manage cluster state and topology, then invoke services; Ember and Forge support local development and simulation. The graph keeps those product branches distinct. Source excerpts are sparse outside core and selected Aether modules, so edges there rely on README statements or explicit source-index references; unsampled wiring is omitted.
Main entry points: node Aether node runtime · integrations Integration libraries · slice Application slices · deployment Cluster deployment
Components 22
Application runtimes
- Application slices
aether/slice-api/src/main/java/org/pragmatica/aether/slice - Terra runtime
terra
Aether operations
- Aether node runtime
aether/node/src/main/java/org/pragmatica/aether/node - Runtime configuration
aether/aether-config/src/main/java/org/pragmatica/aether/config - Cluster deployment
aether/aether-deployment/src/main/java/org/pragmatica/aether/deployment - Scaling control
aether/aether-control/src/main/java/org/pragmatica/aether/controller - Slice invocation
aether/aether-invoke/src/main/java/org/pragmatica/aether - Schema orchestration
aether/aether-deployment/src/main/java/org/pragmatica/aether/deployment/schema/SchemaOrchestratorService.java - Cluster state keys
aether/slice/src/main/java/org/pragmatica/aether/slice/kvstore/AetherKey.java - Cluster state values
aether/slice/src/main/java/org/pragmatica/aether/slice/kvstore/AetherValue.java
Core and integrations
- Functional primitives
core/src/main/java/org/pragmatica/lang - Consensus protocol
integrations/consensus/src/main/java/org/pragmatica/consensus/rabia/RabiaEngine.java - Consensus KV store
integrations/cluster/src/main/java/org/pragmatica/cluster/state/kvstore/KVStore.java - Tiered storage
integrations/storage/src/main/java/org/pragmatica/storage/StorageInstance.java - Append log
integrations/storage/src/main/java/org/pragmatica/storage/AppendLog.java - Distributed storage
integrations/dht/src/main/java/org/pragmatica/dht/storage/MemoryStorageEngine.java - Integration libraries
integrations
Development tools
- Ember dev cluster
aether/ember/src/main/java/org/pragmatica/aether/ember/EngineSelector.java - Forge simulator
aether/forge - Aether CLI
aether/cli/src/main/java/org/pragmatica/aether/cli/AetherCli.java - JBCT tools
jbct
Other components
- Developer
Connections 20
- Developer → Application slices: writes
README.md - Application slices → Aether node runtime: deploys to
README.md - Application slices → Terra runtime: runs on
README.md - Aether node runtime → Runtime configuration: uses settings
aether/node/src/main/java/org/pragmatica/aether/node/StorageFactory.java - Aether node runtime → Cluster deployment: manages cluster
aether/node/src/main/java/org/pragmatica/aether/node/backup/KvBackupService.java - Aether node runtime → Slice invocation: runs slices
- Cluster deployment → Scaling control: coordinates scaling
aether/aether-control/src/main/java/org/pragmatica/aether/controller/RollbackManager.java - Cluster deployment → Schema orchestration: orchestrates schemas
aether/aether-deployment/src/main/java/org/pragmatica/aether/deployment/schema/SchemaOrchestratorService.java - Schema orchestration → Cluster state keys: uses keys
aether/aether-deployment/src/main/java/org/pragmatica/aether/deployment/schema/SchemaOrchestratorService.java - Schema orchestration → Cluster state values: uses values
aether/aether-deployment/src/main/java/org/pragmatica/aether/deployment/schema/SchemaOrchestratorService.java - Developer → Ember dev cluster: develops with
README.md - Ember dev cluster → Forge simulator: simulates with
README.md - Developer → Aether CLI: operates
- Developer → JBCT tools: formats and lints
README.md - Integration libraries → Consensus protocol: includes
README.md - Integration libraries → Distributed storage: includes
README.md - Integration libraries → Tiered storage: includes
README.md - Tiered storage → Append log: uses
integrations/storage/src/main/java/org/pragmatica/storage/StorageInstance.java - Consensus protocol → Consensus KV store: supports state
- Functional primitives → Integration libraries: underpins
README.md