Skip to content

Design

Why pgsilo exists and the decisions that shaped it.

This section documents the engineering rationale and internal architecture of pgsilo: why the project pairs the Silo S3 frontend with a PostgreSQL ObjectLayer backend, how S3 and SQL share a single transactional state machine, and how multi-gateway caches and background workers maintain consistency.

Design documents

DocumentTopic
Why a PostgreSQL backendTarget workloads, lessons from pgs3, when to choose PostgreSQL vs. erasure-coded storage, and capacity bounds
Design decisionsThe ObjectLayer seam, 8 MiB bytea segments, commit_seq version ordering, lock hierarchy, and rejected alternatives
Integration with SiloAuditing erasure-coded assumptions in Silo, .minio.sys persistence, S3 Select snapshots, and why iam_and_pg intersects IAM
SQL API designSeparating silo, silo_api, and silo_bucket, session_user security hardening, and per-bucket security_barrier ACL views
IAM control planePool isolation, the 5-second freshness lease, standby heartbeats, and the schema 14 revision_token split-brain fix
Lifecycle and Object LockDatabase-enforced WORM retention, keyset lifecycle scanning, and epoch-fenced maintenance leases
MVP goal2026-11-08: ship as an experimental Silo backend; support tiers, release checklist, merge prerequisites
Status review and baseline, 2026-11-08Why testing did not close, the runtime baseline on 299378b, the IAM snapshot experiment and the request queue fix

The ObjectLayer seam, the data model and the rejected alternatives.

Why objects are reachable from SQL and how per-bucket ACL relations work.

Pools, advisory locks, the 5-second bound and the revision token added in schema 14.

The 2026-11-08 goal: ship pgsilo as an experimental Silo backend, with a release checklist sized for an MVP.