
v0.17 storage surface. CyborgDB now supports
memory, disk (RocksDB), and s3 (AWS S3 or any S3-compatible store) across both deployment models. The previous PostgreSQL and Redis backends have been removed.Amazon S3
Available in: Service · Embedded Scalable cloud object storage for distributed deployments CyborgDB supports Amazon S3 (and S3-compatible stores such as MinIO) as a backing store, enabling fully cloud-native deployments without managing a traditional database server.Key Benefits
Infinite ScalabilityObject storage scales seamlessly with your data — no capacity planning or provisioning required. Managed Infrastructure
No database servers to patch, tune, or back up. AWS handles availability and durability. S3-Compatible
Works with AWS S3, MinIO, Cloudflare R2, and any other S3-compatible object store. Best For: Cloud-native deployments, multi-region architectures, and workloads that already rely on object storage infrastructure.
Disk (RocksDB)
Available in: Service · EmbeddedThe embedded libraries refer to this backend as “RocksDB”. CyborgDB Service v0.17 selects it via
CYBORGDB_DB_TYPE=disk (and it is the default).Key Benefits
No Network Dependency All data is stored locally on disk — no external database servers to configure or manage. Persistent Storage Data survives process restarts with automatic durability via write-ahead logging. Optimized for Embedded Use Low memory footprint with filesystem support. Best For: Embedded/local deployments, single-machine applications, edge devices, and scenarios where you want persistent storage without external infrastructure.Memory
Available in: Service · EmbeddedThe embedded libraries refer to this backend as “ThreadSafeMemory”. CyborgDB Service v0.17 selects it via
CYBORGDB_DB_TYPE=memory.Key Benefits
Zero Network LatencyDirect memory access without serialization overhead for maximum performance. Development Simplicity
No external dependencies or configuration required — instant setup for prototyping. Deterministic Performance
Predictable access patterns with complete control over memory usage. Best For: Development and testing environments, single-process applications, proof-of-concept scenarios, and ephemeral data requirements.
Managed Services Support
CyborgDB works seamlessly with managed object storage services, reducing operational overhead while maintaining security and performance.AWS
Amazon S3
Scalable object storage with 11 nines of durability
Scalable object storage with 11 nines of durability
Cloudflare
Cloudflare R2
S3-compatible object storage with zero egress fees
S3-compatible object storage with zero egress fees
Self-hosted
MinIO
S3-compatible object storage you control end-to-end
S3-compatible object storage you control end-to-end
Choosing the Right Backing Store
- Use Disk / RocksDB
- Use S3
- Use Memory
- Single-node deployment — You want persistent local storage with no external dependencies
- Edge devices — Running on hardware without network access to databases
- Simplicity — You want a single-binary deployment with built-in storage
- Local development — Persistent storage that survives restarts without infrastructure
- Default choice — It’s the v0.17 service default and works out of the box
Configuration Examples
Embedded library
RocksDB
S3
ThreadSafeMemory
Service
Select via theCYBORGDB_DB_TYPE environment variable (or the equivalent YAML key). See Environment Variables for the full list.
Performance Characteristics
| Backing Store | Latency | Throughput | Durability | Consistency |
|---|---|---|---|---|
| Memory / ThreadSafeMemory | ~1µs | Very High | None | Single Process / Thread-Safe |
| RocksDB (disk) | ~10µs | High | Local Disk | Single Process |
| S3 | ~10ms | Medium | Full (11 nines) | Eventual |