Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Deployment & Operations

This section covers everything you need to deploy, operate, and maintain DataSynth in production environments.

Deployment Options

DataSynth supports three deployment models, each suited to different operational requirements:

MethodBest ForScalingComplexity
Docker / ComposeSmall teams, dev/staging, single-nodeVerticalLow
Kubernetes / HelmProduction, multi-tenant, auto-scalingHorizontalMedium
Bare Metal / SystemDRegulated environments, air-gapped networksVerticalLow

Architecture at a Glance

DataSynth server exposes two network interfaces:

  • REST API on port 3000 – configuration, bulk generation, streaming control, health probes, Prometheus metrics
  • gRPC API on port 50051 – high-throughput generation for programmatic clients

Both share an in-process ServerState with atomic counters, so a single process can serve REST, gRPC, and WebSocket clients concurrently.

Operations Guides

GuideDescription
Operational RunbookGrafana dashboards, alert response, troubleshooting, log analysis
Capacity PlanningSizing model, reference benchmarks, disk and memory estimates
Disaster RecoveryBackup procedures, deterministic replay, stateless restart

Security & API

GuideDescription
API ReferenceEndpoints, authentication, rate limiting, WebSocket protocol, error formats
Security HardeningPre-deployment checklist, TLS/mTLS, secrets, container security, audit logging
TLS & Reverse ProxyNginx, Envoy, and native TLS configuration

Quick Decision Tree

  1. Need auto-scaling or HA? – Use Kubernetes.
  2. Single server, want observability? – Use Docker Compose with the full stack (Prometheus + Grafana).
  3. Air-gapped or compliance-restricted? – Use Bare Metal with SystemD.