HUB
Sign inSign up

chiefj/distributed-transaction-engine

By chiefj

•Updated 17 days ago

High-performance distributed transaction & saga orchestration engine.

Image
0

68

chiefj/distributed-transaction-engine repository overview

⁠Distributed Transaction Engine

An enterprise-grade, high-performance distributed transaction & saga orchestration engine built with Go, PostgreSQL 18, and Apache Kafka.

⁠Architecture & Features

This image provides a hardened, non-root microservice runtime implementing all 25 critical distributed system patterns:

  • Saga Orchestration & Workflow State Machine: Sequential, parallel, and branching saga flows with forward recovery and reverse compensation.
  • Transactional Outbox & Inbox Deduplication: Guaranteed at-least-once dispatch to Kafka KRaft topics with exact-once inbox semantics.
  • Optimistic Concurrency Control & Fencing Tokens: Monotonic fencing tokens guarding against split-brain scenarios and distributed lease races.
  • Crash Recovery & Reconciliation Engine: Automated incarnation lease takeovers, zombie execution reaping, and poller recovery.
  • Tenant Isolation & Security: Cryptographic tenant boundaries across relational schemas and execution partitions.
  • Distributed Tracing & Observability: Native W3C TraceContext propagation (traceparent to X-Trace-Id / X-Span-Id) and Prometheus metrics.

⁠Quick Start

docker run -d \
  --name distributed-transaction-engine \
  -p 8080:8080 -p 8081:8081 \
  -e DB_HOST="your-postgres-host" \
  -e DB_PORT="5432" \
  -e DB_USER="postgres" \
  -e DB_PASSWORD="your-db-password" \
  -e DB_NAME="dist_tx_engine" \
  -e KAFKA_BROKERS="your-kafka-broker:9092" \
  chiefj/distributed-transaction-engine:latest

⁠Health Checks

  • Liveness: GET http://localhost:8081/health/live
  • Readiness: GET http://localhost:8081/health/ready

Tag summary

Content type

Image

Digest

sha256:2504211cb…

Size

33.4 MB

Last updated

17 days ago

docker pull chiefj/distributed-transaction-engine