Repository navigation
What's Changed in v0.2.0
AetherRelay has been fully rewritten in native Rust (Axum 0.8 + Tokio 1.x) with embedded SQLite WAL storage, providing a lightweight, crash-resilient buffer for incoming webhooks.
Key Features
- Zero-Copy Ingest: Accepts payloads immediately with
HTTP 202 Acceptedwhile preserving raw request bytes for cryptographic verification. - Constant-Time Crypto Adapters: Multi-provider support for GitHub (HMAC-SHA256), Stripe (v1 timestamped with replay window), Midtrans (SHA-512), Discord (Ed25519), and Generic HMAC.
- Atomic Deduplication: Events are deduplicated on ingest using SQLite compare-and-swap transactions on
(endpoint_id, idempotency_key). - Reliable Dispatch Loop: Asynchronous background worker using AWS decorrelated jitter exponential backoff, per-endpoint circuit breaker, and dead-letter queue (DLQ) with replay API.
- Prometheus Observability: Structured JSON logging,
/healthcheck, and Prometheus/metricsendpoint with counters, histograms, and dispatch gauges. - Minimal Footprint: Static musl binary (~10.6 MB) and unprivileged scratch Docker image (~9.7 MB) with < 15 MB RAM usage under load and ~10 ms cold start.