Core Concepts â
Understand the foundational building blocks of App Config.json. Learn how configurations are structured, versioned, and delivered to your applications with zero downtime.
đ Configuration Schema
At its heart, App Config.json uses a strict JSON schema to define, validate, and enforce configuration structure across your application. Every config file is validated against a schema before deployment, preventing runtime errors caused by malformed or missing keys.
Invalid configurations are rejected at the API gateway level. Your application will never receive a malformed payload.
đ Environment Overrides
App Config.json supports layered configuration. Define a base configuration, then apply environment-specific overrides without duplicating entire files. This follows the 12-factor app methodology for environment separation.
Use .env variables inside config values with {{ENV_VAR}} syntax. They are resolved server-side before delivery.
⥠Real-Time Sync
Configuration updates propagate to all connected instances via WebSocket channels with fallback to long-polling. Your application receives delta updates, not full payloads, minimizing bandwidth and latency.
When a config is published:
- Server validates & encrypts the payload
- Diff is calculated against the active version
- Updates are broadcast to subscribed clients
- Clients acknowledge receipt within ~50ms
If a client drops connection, it will automatically fetch the latest config on reconnection. No state is lost.
đ Versioning & Rollback
Every configuration change creates an immutable, timestamped version. You can inspect diffs, audit changes, and instantly rollback to any previous state without redeploying your application.
đ Secrets Management
Sensitive values (API keys, database passwords, JWT secrets) are stored separately from configuration and never logged or cached in plaintext. They are encrypted at rest using AES-256-GCM and transmitted via TLS 1.3.
Access is controlled via role-based policies. You can define who can view, edit, or inject secrets into specific environments.
đĻ SDK Integration
Our first-party SDKs handle connection management, retry logic, and hot-reloading automatically. Supported runtimes include Node.js, Python, Go, Java, and Rust.