DEPLOYMENT
One binary, anywhere.
Linux and Windows on x86-64 and ARM64, static musl builds that run on any Linux, Docker images for amd64 and arm64, an Arch package with a systemd unit, or the engine linked into your own binary.
1 / 4
Docker Compose
- Ubuntu 24.04 by default, also -ubuntu26.04 and -alpine tags
- A rustfs tag with an S3 store in the same container, backups and S3 tables pointed at it
- Docker Hub and ghcr.io
yaml
services:
rasterizeddb:
image: ghcr.io/milen-denev/rasterizeddb:latest
environment:
RASTERIZEDDB_PG_PASSWORD: ${RASTERIZEDDB_PG_PASSWORD:?set it}
ports: ["5432:5432", "61170:61170"]
volumes: ["rasterizeddb:/var/lib/rasterizeddb"]
stop_grace_period: 60s
restart: unless-stopped
volumes:
rasterizeddb:
2 / 4
Hardware
- x86-64-v3 (AVX2: Haswell or later); AVX-512 used when present
- Any ARMv8-A: Graviton, Ampere, Raspberry Pi 4/5, Snapdragon X
- A low-memory preset for small machines: indexes on disk, capped join memory
3 / 4
Modular builds
The heavier subsystems are Cargo features. A build that does not want one carries none of its code or dependencies: S3 backup, PostgreSQL import, storage pools, KV storage and its S3 driver, the KV cache, the MySQL and SQL Server front ends, query statistics and branching. The default build turns them on.
shell
cargo build --release -p rasterizeddb_core --no-default-features \
--features memory_pool_reuse,replication_compression
4 / 4
Operating it
- Clean shutdown on SIGTERM: drain, seal index snapshots, checkpoint the WAL
- Hot configuration: SET CONFIG saves to rasterizeddb.conf
- An OS lock on the data directory: two processes never open one database
- Unix sockets for co-located apps, TCP off if you want