Status
MVP goal and release form
Since 2026-11-08, the goal for pgsilo is an MVP release candidate that merges into Silo main as an experimental storage backend. Users start PostgreSQL mode by passing a postgres:// or postgresql:// DSN or setting SILO_PG_DSN on the standard silo binary. The full goal is recorded in MVP goal; the Supported, Preview and Not supported tiers are in Compatibility.
The merge into Silo main has three prerequisites:
- The current Silo release completes.
feat/pg-backendis then synced to that release tag, upstream changes to shared files and newObjectOptionssemantics are implemented or explicitly rejected in PostgreSQL mode, and the release checklist runs again. - The four annotation policy actions are public. The server uses
GetObjectAnnotationAction,ListObjectAnnotationsAction,PutObjectAnnotationActionandDeleteObjectAnnotationAction, which exist only in an unpublishedsilo-pkgbranch (cc22fd9). They must be published to the publicsilo-pkg, coordinated with the Server and Console releases, or handled another way. Without them the server does not compile against its publicgo.mod(checked on 2026-11-08). - The user decides the merge. Pushing, merging, publishing packages or images, and deploying each need separate approval.
Release checklist
Verification is proportional to an MVP: each item is a functional or smoke test that completes in minutes, and the whole checklist completes in one to two hours. Long-running stability or endurance runs, full instrumentation matrices, repeated benchmark rounds and root-cause campaigns for rare intermittent failures are not part of the MVP and are not gates after it.
| # | Item |
|---|---|
| 1 | internal/pgstore tests on PostgreSQL 18 and on PostgreSQL 16 |
| 2 | Regular Silo unit tests (go test, no race detector), to show that erasure-coded mode did not regress |
| 3 | mint core once over HTTPS (covers SSE-C) |
| 4 | Ceph s3-tests, 195 pinned cases |
| 5 | Client smoke: mcli, AWS CLI v2, boto3, AWS SDK for Go v2 |
| 6 | Reduced performance smoke that takes minutes; numbers are recorded, not gated |
| 7 | General Silo Console 2.6.0 smoke against PostgreSQL mode |
| 8 | Runtime smoke on linux/amd64 |
Item 2 needs free disk space: when the temporary directory’s disk is nearly full, erasure-coded tests fail in bulk at Silo’s minimum free-space threshold.
Baseline on 299378b (2026-11-08)
On 2026-11-08, an earlier, fuller form of the checklist ran once against feat/pg-backend at 299378b562395989eb666d048b4f6138be7deb25 (schema 14, Go 1.27.3) with PostgreSQL 18.6 and 16.15 containers (fsync=on, synchronous_commit=on). It used race-enabled unit tests, mint core and full over HTTP and HTTPS, and a performance smoke. These are one-off results; they do not apply to newer commits.
| # | Item | Result | Detail (299378b, 2026-11-08) |
|---|---|---|---|
| 1 | internal/pgstore on PG 18 and PG 16 | Pass | 185 top-level / 326 tests pass on both (-race, 0 skip) |
| 2 | cmd and erasure-coded regression | Fail (1 test) | Linux container, -race: 1,515 top-level tests, 1,499 pass, 8 skip, 8 fail. Seven failures were file-permission tests that fail as root and pass when rerun as a non-root user. The remaining failure, TestPGIAMPolicyReadersKeepCompleteSnapshot, was fixed in ca158fb6 (see Fixes). internal/... without pgstore: 511 top-level pass, 4 skip |
| 3 | mint over HTTP and HTTPS | Pass | Core: HTTP 614 pass / 6 NA, HTTPS 644 pass / 6 NA. Full: HTTP 872 pass / 8 NA, HTTPS 947 pass / 7 NA, 0 fail. NA cases are replication, SSE-KMS, and SSE-C over HTTP. One transient container-to-host dial timeout in HTTP minio-go passed 185/185 on rerun |
| 4 | Ceph s3-tests (195) | Pass | 195/195 in 191.6 s (ceph/s3-tests@5522d1c) |
| 5 | Client smoke | Pass | mcli, AWS CLI v2 2.37.9, boto3 1.43.108 and Go SDK: CRUD, 64 MiB multipart, cross-segment Range, 256 MiB read-back, EntityTooLarge at 256 MiB + 1 B |
| 6 | Performance smoke | Recorded | See Performance smoke |
| 7 | Silo Console 2.6.0 | Pass | API and browser: sign-in, bucket creation and listing, 3 MiB upload, download with matching SHA-256, delete |
| 8 | linux/amd64 | Pass (emulated) | All four client suites and the 256 MiB check under x86_64 emulation; not tested on native amd64 hardware |
The mint image was rebuilt from the pinned source and locks with the same 11 fixture revisions used in October 2026, so mint results are not from an unmodified upstream image.
Fixes after the baseline (2026-11-08)
Both fixes are local commits on feat/pg-backend; neither has been pushed.
| Commit | Change |
|---|---|
ca158fb6 | Test only. TestPGIAMPolicyReadersKeepCompleteSnapshot now asserts that cache misses and mutations never merge single stored records, and that a listing or a revision-driven refresh installs the complete snapshot, so added and deleted records appear and disappear together. See Status review and baseline |
1d387725c | When the request budget is full, PostgreSQL mode waits up to SILO_PG_QUEUE_TIMEOUT (5 s by default, 0 s–1 min, 0s disables waiting) without holding a database connection. A disconnecting client stops waiting at once (499). When the wait expires, the gateway answers HTTP 503 SlowDown. Erasure-coded mode still answers HTTP 429 at once |
Verification on 1d387725c (2026-11-08):
cmdIAM-related tests and the new queue tests (no race): 161 top-level pass, 5 skip, 0 fail; the queue test also passed once with-race.internal/pgstore: 185 top-level / 326 pass.- Ceph
s3-tests: 195/195.mintcore over HTTPS: 644 pass, 6 NA, 0 fail. - 64 concurrent clients with the default pool (
SILO_PG_MAX_CONNS=32) and default AWS SDK for Go v2 retries, 90 s per phase:
| Phase | Succeeded | Failed | HTTP 429 / 503 seen | p50 / p95 / p99 / max |
|---|---|---|---|---|
| PUT 4 KiB | 26,625 (295 ops/s) | 0 | 0 / 0 | 210 / 326 / 466 / 1,110 ms |
| GET 4 KiB | 33,288 (369 ops/s) | 0 | 0 / 0 | 162 / 247 / 362 / 591 ms |
With SILO_PG_QUEUE_TIMEOUT=0s for comparison (20 s per phase), the gateway returned 596 (PUT) and 646 (GET) HTTP 503 responses. The SDK retried them; most succeeded, but 160 PUT and 188 GET requests still failed after three attempts. Retries alone do not cover a sustained 64-to-32 overload; the queue does.
Performance smoke on 299378b (2026-11-08)
The 2026-11-08 smoke ran a darwin/arm64 gateway (299378b) on an 18-core Apple Silicon macOS host against PostgreSQL 18.6 in a Docker Desktop VM over port forwarding, using aws-sdk-go-v2 on the same host with default checksums and no retries. These numbers cannot be compared with the October 2026 Lima VM benchmark in the history below.
| Workload | Default pool (SILO_PG_MAX_CONNS=32) | Expanded pool (SILO_PG_MAX_CONNS=72) |
|---|---|---|
| 1 KiB PUT / GET p50 | 7.92 ms / 5.77 ms | 6.08 ms / 5.68 ms |
| 1 MiB PUT / GET p50 | 21.9 ms / 12.6 ms | 21.0 ms / 10.9 ms |
| 64 MiB PUT / GET median | 95.8 MB/s / 234.6 MB/s | 82.9 MB/s / 155.1 MB/s |
| 64-worker 4 KiB PUT (single bucket / spread) | Requests above 32 got HTTP 429 TooManyRequests at once (fixed in 1d387725c) | 350.6 ops/s / 469.1 ops/s (0 errors) |
ListObjectsV2 (1,000 keys) p50 | 10.4 ms | 14.1 ms |
Known issues
As of 1d387725c (2026-11-08):
| Issue | Impact and status |
|---|---|
| Brief HTTP 503 after IAM modifications | When one gateway updates IAM state, requests can briefly return HTTP 503 while caches refresh. Clients should retry HTTP 503. Deferred beyond the MVP. |
Console 2.6.0 /api/v1/admin/site-replication returns HTTP 500 | PostgreSQL mode does not implement site replication and returns NotImplemented. Other Console pages work. |
| Lifecycle worker log noise under load | At peak load, the lifecycle worker logs a one-time lease query timeout or "lifecycle policy changed". Lease takeover and epoch progression continue normally. |
Version string reports DEVELOPMENT.GOGET | Development builds do not inject a version; the Silo release pipeline will. |
Unpublished silo-pkg annotation actions | Merge prerequisite 2 above. Building from source needs silo-pkg at cc22fd9 until the actions are public. |
amd64 tested only under emulation | The 2026-11-08 amd64 smoke ran under x86_64 emulation, not on native hardware. |
Deferred beyond the MVP
- Automatic high availability: define the scope and the validation when it is needed.
- The brief HTTP 503 window during cross-gateway IAM refresh, and Python client throughput.
- Merging the annotation interface into the general Silo Console and promoting Preview features to Supported.
- Objects above 1 GiB, higher throughput, and multi-architecture container images.
Historical local delivery (2026-10-08)
Before the MVP plan was adopted on 2026-11-08, an internal schema 14 preview was frozen locally on 2026-10-08 (recorded at 2026-10-07T22:16:50Z). That build is ARM64-only and will never be pushed, merged, tagged, published or deployed.
| Component | Commit / artifact (2026-10-08 frozen preview) |
|---|---|
| Silo server | 3c7fdc03a27740526e9e6d8b1987a3ed00691948 (schema 14, built with Go 1.27.1) |
| Embedded Console | 3c4469d47a62526e008e25b8d415f2912f76a919 (custom build with annotation UI) |
silo-pkg | 58686c71b9bc70d77ec945488548c140c0f776b0 |
| Pigsty integration | 5633285b2b8d40321e458026abe2656944674ed3 (unpublished local branch) |
| Local ARM64 artifacts | silo-linux-arm64, silo-darwin-arm64, silo_20261007153132.0.0-1PGSTY_arm64.deb, silo-postgresql-source.tar.gz |
What the October 2026 validation on 3c7fdc03 and its preceding schema 13/14 candidates (dca464e5, 7cfea651) established:
- Functional suites: Mint full HTTP (872 pass / 8 NA) and HTTPS (947 pass / 7 NA), Ceph
s3-tests(195/195), 18 configured feature checks, two 10,000-part multipart runs, 32 application integration checks, 28 Console checks (including SQL, usage and TLS), 5 multi-gateway checks, 7 PITR checks, 11 Basic AssumeRole STS checks (including 900-second natural expiration), and 10 Pigsty v7 checks. Core kernel tests passed on PostgreSQL 16.15, 17.11 and 18.6. - Mixed recovery preflight (
3c7fdc03): 1,208.363 active seconds, 24,186 mixed operations, 8 recovery scenarios passed, 418 verified objects, 0 request errors. - 3-round benchmark in a Lima Linux VM (
3c7fdc03): Silo and PostgreSQL 18 shared 4 vCPUs and 8,000,000,000 bytes of memory on a local SSD (fsync=on,synchronous_commit=on,SILO_PG_MAX_CONNS=72), with a separate 4-vCPU / 2 GiB client boundary. Using a 64-worker AWS Go SDK v2 client for the concurrent 4 KiB PUT cases and the pinned Python client for the remaining cases, all 3 rounds (27 rows, 204,024 measured requests, 123,482 mixed operations, 0 errors) passed:hot(single bucket, 64 workers, 4 KiB PUT): 806.963, 660.593, 736.328 ops/s across Rounds 1–3.spread(spread buckets, 64 workers, 4 KiB PUT): 1500.231, 1249.699, 1400.237 ops/s across Rounds 1–3.- Earlier 3-round runs on the same
3c7fdc03candidate that used the Python client for concurrent 4 KiB PUT failed 4 of 27 rows (hot528.203 / 498.072 / 485.675 ops/s andspread537.303 / 476.434 / 493.809 ops/s against the 500 ops/s target).
- 72-hour endurance run (
3c7fdc03) — Canceled, not passed: stopped at the user’s request after approximately 4.05 hours (14,562.377 active seconds, 287,912 operations, 0 request errors). Final post-run verification never executed, and the run is not recorded as a 72-hour pass.
