Skip to main content
Veyndi AML

Trust centre

Availability and recovery architecture

In institution-operated deployments, runtime availability is governed by the infrastructure the institution runs. This page documents Veyndi AML's runtime topology, exported observability metrics, mandatory alerting contract, and backup and recovery architecture.

Architecture posture

Runtime topology and resilience summary

Each component's scaling model, stateful boundary, and operational requirement.

Availability and recovery architecture summaryCore runtime components, scaling characteristics, and operational safeguards built into the Veyndi AML platform.
ComponentArchitectural behaviourOperational requirementPosture
Stateless API and web tiersSingle Go binary and Next.js web runtime handling requests without local session state; supports single-node or multi-replica API deployment.S3-compatible object storage is enforced at startup whenever multiple API replicas are configured.Horizontal scaling
Background workerRuns as a single active instance so periodic jobs are never duplicated; scales throughput through internal worker concurrency.Requires mandatory queue-heartbeat and worker-readiness alerting to detect stalls before partition exhaustion.Single-instance
PostgreSQL system of recordStores customer, transaction, case, regulatory report, and append-only audit-chain records.RPO is governed by the institution's backup schedule (periodic dumps) or continuous WAL archiving and streaming replication.Institution-managed
Encrypted evidence storePersists pre-encrypted CDD documents, case attachments, and immutable evidence exports.Backed up immediately after each database dump alongside the escrowed root key so restored records remain readable.Ciphertext at rest
Observability and metricsDedicated metrics listener isolated from the API listener (startup fails if bound to the same address) with PII-free normalised route labels.Scraped into the institution's monitoring stack without relabelling identifiers back into metric series.Built in
Continuity and fail-safe degradationExplicit business fallbacks: unavailable screening providers queue work rather than marking records clean; audit logging remains append-only.Paired with institution-approved incident severity ladders, escalation paths, and periodic restore drills on target hardware.Fail-safe design

Whose uptime

Availability is a property of the deployment

A compact runtime footprint keeps operational failure modes predictable and auditable.

The runtime consists of one Go binary operating in distinct run modes alongside a Next.js web image. There is no service mesh, external message broker, or separate search cluster — the only stateful dependencies are PostgreSQL and the encrypted evidence store, both operated inside the institution’s boundary.

One architectural constraint is central to capacity planning: the background worker runs as exactly one active instance and does not scale horizontally. Periodic jobs are registered per worker, so running a second replica would duplicate scheduled tasks. Throughput is scaled through worker concurrency rather than replica count, and the mandatory queue-heartbeat alert ensures a stopped worker is detected immediately before transaction partitions stop being created.

The API tier is stateless and supports either a single instance for one institution or multiple replicas behind a load balancer. When replicated, S3-compatible object storage is required and enforced at startup so pod-local evidence storage cannot be misconfigured.

Monitoring

What the platform exposes, and what must be alerted on

A dedicated metrics listener is built into the product today, paired with a mandatory alert set for production operations.

Exported today

  • HTTP request volume, request duration and in-flight concurrency for the API.
  • Database connection-pool occupancy, contention and churn.
  • Worker readiness, queue depth, oldest available job age, retryable and discarded job counts, and last success time.
  • Go runtime and process health.
  • A dedicated metrics listener, separate from the API listener — the application refuses to start if the two are configured to the same address.

Route labels are normalised before export, and identifiers, raw URLs, job arguments, and error text are never emitted as labels. Preserve this boundary when configuring metric scraping so the monitoring store never accumulates customer data.

Alerts the deployment must implement

  • Queue heartbeat failure — verifies that transaction partitions are created on schedule, no rows landed in the default partition, and no jobs were silently discarded.
  • Worker not ready — detects when the single worker instance stops processing before periodic maintenance tasks fall behind.
  • Queue depth or oldest-job age growing — indicates ingestion or background work is arriving faster than it clears.
  • Discarded jobs above zero — flags background tasks whose retries have been exhausted.
  • Backup job failure and backup age — catches scheduled database or evidence backup jobs that stop completing.
  • API readiness failure or database unreachable — indicates direct service impact.
  • Disk headroom on database and evidence volumes — prevents storage exhaustion from halting AML processing.
  • TLS certificate expiry — prevents authentication and transport outages.
  • Audit chain verification failure — protects the tamper-evident integrity guarantee.

Recovery and continuity

Backup, recovery objectives, and service governance

Recovery time and recovery point objectives are set by the institution per service tier. Here is how the platform's packaging maps to those targets.

Recovery point (RPO). Standard single-node packaging runs a single PostgreSQL instance without built-in streaming replication or automatic failover; recovery is an operator-executed restore. A daily backup schedule yields an RPO of up to twenty-four hours; twice-daily backups yield up to twelve hours.

Institutions requiring an RPO measured in minutes should pair Veyndi AML with continuous write-ahead-log (WAL) archiving or a streaming standby replica — standard on managed cloud PostgreSQL and straightforward to architect on dedicated enterprise database infrastructure.

Recovery time (RTO). Baseline restore drills put a hundred-gigabyte database at roughly twenty-six minutes to restore, migrate, and verify on reference hardware. Operational RTO budgets should combine that technical floor with incident detection, key retrieval from escrow, infrastructure provisioning, and compliance verification on the institution’s own servers.

Incident reporting and post-incident reviews

The incident response runbook standardises every high-severity report: detection timestamp, affected tenants and systems, containment actions, recovery verification, affected-data determination, regulatory notification assessment, root cause, and corrective actions with owners and target dates. Reopened incidents preserve their original identifier and timeline.

Maintenance windows and contractual SLAs

Planned maintenance windows, advance notice periods, response-time commitments, and availability measurement definitions are agreed in each institution’s Service Level Agreement (SLA), aligned with the severity ladder and escalation model on the support page.

Operational readiness

Plan recovery before go-live

Backup scheduling, key-escrow rehearsal, a restore drill on your own hardware, and the mandatory alert set. We work through all four with your infrastructure team during onboarding.