Production guide
Plan TLS, security, backups, observability and deployment boundaries.
Know the deployment boundary
CobaltDB currently describes itself as a production-oriented, single-node database candidate. Treat readiness as a property of your application, workload, driver and recovery process.
Read the upstream production guide and HA and failover boundaries before choosing a deployment architecture.
Upgrading to v0.7.0
Review the release changelog for behavior changes. Custom Go configurations should begin with engine.DefaultOptions(). The default cache is now 32,768 pages (128 MiB), including in the Docker image.
Budget disk space for the database, WAL and query scratch files. Tune -cache and -memory-limit for your workload; a soft heap limit is not a hard cap on process RSS.
Network & data security
- Bind listeners to trusted interfaces and keep them private by default.
- Configure TLS for non-loopback wire access and validate client compatibility.
- Set a strong, unique admin password through your secret-management system.
- Evaluate AES-256-GCM encryption, RLS policies and audit logging for your data.
- Manage encryption keys independently from the data they protect.
Non-loopback replication requires authenticated TLS. Mutual TLS and certificate-name overrides are available for relevant topologies. Use the current server configuration as the authority.
Backups & restoration
Use scheduled hot backups or mysqldump for online-consistent backups. The MySQL 8.4 client’s single-transaction dump workflow is tested against both MySQL and a fresh CobaltDB instance.
mysqldump -h 127.0.0.1 -P 3307 -u admin -p \
--single-transaction --routines --triggers --events app > app.sqlTest restoration against a separate database before relying on a backup. Preserve required keys, metadata and operational configuration as part of your recovery plan.
Refer to the operations runbook for the current procedures and deployment constraints.
Health & observability
The health listener exposes liveness, readiness and metrics endpoints. Keep the operational listener private or behind your own access control.
curl http://127.0.0.1:8420/health
curl http://127.0.0.1:8420/ready
curl http://127.0.0.1:8420/metrics/prometheusUse representative workloads to set latency and resource budgets. Benchmark persistent storage, concurrency, failure recovery and the exact client versions you plan to ship.
Verify the version you deploy
Pin your release, review the changelog, and run the repository’s verification commands in the appropriate development environment.
make verify
# Security/concurrency gate; race detector needs a CGO toolchain
make verify-securityThese commands are upstream database checks. Website build and browser checks do not certify database production readiness.