Skip to main content

Crate ringkernel_txmon

Crate ringkernel_txmon 

Source
Expand description

RingKernel Transaction Monitoring (TxMon)

GPU-accelerated real-time transaction monitoring showcase demonstrating RingKernel capabilities for banking/AML compliance.

§Features

  • Transaction Factory: Configurable synthetic transaction generation
  • Compliance Rules: Velocity breach, amount threshold, structuring, geographic anomaly
  • Real-time GUI: Live transaction feed, alerts panel, statistics dashboard
  • Multi-backend: CPU and optional CUDA GPU acceleration

§GPU Backend Approaches

The cuda module provides three different GPU-accelerated approaches:

§1. Batch Kernel (High Throughput)

Each thread processes one transaction independently. Best for maximum throughput on large batches (10M+ TPS on modern GPUs).

§2. Ring Kernel (Actor-based Streaming)

Persistent GPU kernels with HLC timestamps and K2K messaging. Best for low-latency streaming with complex multi-stage pipelines.

§3. Stencil Kernel (Pattern Detection)

Uses GridPos for spatial pattern detection in transaction networks. Detects circular trading, velocity anomalies, and coordinated activity patterns.

Re-exports§

pub use factory::FactoryState;
pub use factory::GeneratorConfig;
pub use factory::TransactionGenerator;
pub use monitoring::MonitoringConfig;
pub use monitoring::MonitoringEngine;
pub use types::AlertSeverity;
pub use types::AlertStatus;
pub use types::AlertType;
pub use types::CustomerRiskLevel;
pub use types::CustomerRiskProfile;
pub use types::MonitoringAlert;
pub use types::Transaction;
pub use types::TransactionType;

Modules§

factory
Transaction factory for generating synthetic transactions.
gui
GUI components for the transaction monitoring application.
monitoring
Transaction monitoring engine and compliance rules.
types
Core data types for transaction monitoring.