DocsSelf-hostingProduction architecture
Self-hosting

Production architecture

Understand the role of the engine, SQLite, and ClickHouse in a self-hosted deployment.

Source of truthserver/engine/cmd/sankofa/main.goserver/engine/internal/registry/registry.go

Core components

  • Engine: Go application that handles auth, ingest, API routes, and official SDK integration.
  • SQLite: metadata store for users, orgs, projects, boards, cohorts, and saved analysis objects.
  • ClickHouse: analytics storage for event-heavy query workloads.

Deployment implication

Sankofa is designed as a unified engine. All core analytics features are part of the base installation, ensuring a streamlined deployment process without the need for complex orchestration of separate services.