Skip to content

tenement

Lightweight process hypervisor in Rust.

Run 100+ isolated services on a single server, with most idle at any time.

  • Subdomain routing - user.api.example.comapi:user
  • Scale-to-zero - Stop idle instances, wake on request
  • Process isolation - Namespace separation (zero overhead) or gVisor sandbox
  • Weighted routing - Blue-green and canary deployments
  • Auto-restart - Health checks with exponential backoff
  • Built-in TLS - Let’s Encrypt certificates
  • Single binary - ~10MB, one TOML config file
  • Multi-tenant SaaS (each tenant = isolated process)
  • Microservices on a single server
  • Scale-to-zero services without per-machine pricing
ToolTrade-off
DockerContainer overhead, slower startup
systemdNo routing, no idle timeout
KubernetesComplex for single-server deployments
Fly MachinesPay per machine, can’t overstuff