Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Technology Overview

The open-source foundation powering Reframe.

Architecture

Reframe is built on a modular architecture with specialized libraries:

┌─────────────────────────────────────────────────────────────┐
│                      Reframe Engine                         │
│                                                             │
│  ┌─────────────┐  ┌─────────────┐  ┌─────────────────────┐  │
│  │   Dataflow  │  │  Datalogic  │  │      Datafake       │  │
│  │  Workflows  │  │   Rules     │  │   Data Generation   │  │
│  └─────────────┘  └─────────────┘  └─────────────────────┘  │
│                                                             │
│  ┌──────────────────────────────────────────────────────┐   │
│  │  swift-mt-message  │  mx-message  │  quick-xml       │   │
│  │  MT Parsing        │  MX Parsing  │  XML Processing  │   │
│  └──────────────────────────────────────────────────────┘   │
└─────────────────────────────────────────────────────────────┘

Core Libraries

LibraryPurposeRole in Reframe
DataflowWorkflow orchestrationExecutes transformation pipelines
DatalogicJSONLogic evaluationProcesses business rules and mappings
DatafakeTest data generationGenerates sample messages

Why These Libraries?

Separation of Concerns

Each library handles a specific responsibility:

  • Dataflow: Orchestrates when and how workflows execute
  • Datalogic: Evaluates what transformations to apply
  • Datafake: Generates realistic test data

Performance

All libraries are:

  • Written in Rust for memory safety and speed
  • Pre-compiled at startup (zero runtime parsing)
  • Thread-safe for concurrent processing

Transparency

All business logic is:

  • Defined in JSON (not compiled code)
  • Auditable and version-controllable
  • Modifiable without rebuilding

Technology Stack

Core

TechnologyVersionPurpose
Rust1.89+Language
Tokio1.48Async runtime
Axum0.8HTTP framework
serde_json1.0JSON processing

Message Processing

LibraryPurpose
swift-mt-messageSWIFT MT parsing
mx-messageISO 20022 parsing
quick-xmlXML serialization

Database & API

TechnologyPurpose
MongoDBMessage storage (optional)
utoipaOpenAPI generation
async-graphqlGraphQL API

Open Source Ecosystem

All components are open source under Apache 2.0:

ProjectGitHubDocumentation
ReframeGoPlasmatic/ReframeThis site
DatalogicGoPlasmatic/datalogic-rsDocs
DataflowGoPlasmatic/dataflow-rsDocs
DatafakeGoPlasmatic/datafake-rsDocs

Each project includes an interactive playground for testing.

Performance Characteristics

Latency

OperationTypical Latency
MT103 → pacs.008< 1ms
pacs.008 → MT103< 1ms
Validation< 0.5ms
Sample generation< 2ms

Throughput

ConfigurationMessages/Second
Single instance (4 CPU)5,000+
Horizontal scalingLinear

Resource Usage

ResourceTypical Usage
Memory256-512 MB
CPULow (mostly I/O bound)
Startup time< 5 seconds

Datalogic →

Dataflow →

Datafake →