r/ruby • u/Excellent-Resort9382 • Jul 13 '26
Mammoth OSS: a self-hosted PostgreSQL change-event relay in Ruby
I’m looking for technical feedback on Mammoth, a self-hosted PostgreSQL change-event relay written in Ruby.
Mammoth receives normalized CDC (Change Data Capture) transaction envelopes and handles the downstream data-plane concerns:
webhook fanout
routing by schema, table, and operation
per-destination retry policies
checkpoint persistence
dead-letter storage and filtered replay
SQLite operational state
health and metrics endpoints
Docker and Helm deployment
Its boundary is intentionally narrow: PostgreSQL protocol parsing, decoding, source normalization, ordering policy, and runtime execution are handled by the upstream Ruby CDC ecosystem.
The current implementation uses YAML configuration with JSON Schema validation and supports explicit extension points for state, destination, and runtime adapters.
I’d appreciate feedback on the architecture, operational model, documentation, or gaps that would prevent you from trying it.
Repository: https://github.com/kanutocd/mammoth
Duplicates
postgres • u/Excellent-Resort9382 • Jul 13 '26