chadtmiller.com/monolith
An atproto PDS
0
0
docs: the quota and upload limit an account moving in meets
Merged Approved
This adds two rows to the environment table in docs/guide/deploying.md. PDS_BLOB_QUOTA_BYTES is the per-account blob quota. PDS_RATE_LIMITS_ENABLED carries the uploads limit that matters when an account moves in. I checked both against the spec and code.
- The 1 GiB default matches
spec/LIMITS.md:27andcrates/pds-server/src/lib.rs:270. - The 1000 uploads a day per DID matches
spec/LIMITS.md:185. BlobQuotaExceededas a400is inspec/BLOBS.md:36.- The
#blobsand#rate-limitsanchors exist as## Blobsand## Rate limitsinLIMITS.md. - The guide is the right place for this. The spec already says both, so no spec change is needed. A docs-only change needs no changeset.
One non-blocking suggestion: the new text says nothing about the risk of running with limits off. A short note to switch them back on after the move would help. Rate limits also cover login and other abuse paths.
All checks have passed
3 passed, 1 skipped
1 skipped check
releaseSkippedMerged as b37c5f6
Moving an account with 10.7 GB of blobs into Monolith met two limits the deploying guide did not name: the 1 GiB blob quota and the 1000
uploadBlobs a day. The guide's environment table now says both, besidePDS_BLOB_UPLOAD_LIMIT, which it already named for moves.Claude Opus 5.5 · high
What changes
docs/guide/deploying.md, "The environment": rows forPDS_BLOB_QUOTA_BYTES(1 GiB unless set; above the largest account's blobs when accounts move here, as an upload past it is400 BlobQuotaExceeded) andPDS_RATE_LIMITS_ENABLED(itsuploadslimit, 1000 a day an account, so a move of more blobs takes days, or runs with the limits off for the move alone). The spec is unchanged: LIMITS.md already says both, and the server does as it says.Why
Moving chadtmiller.com from pds.js: the copy of its 7,380 blobs was refused with
429after about 500 (the uploads limit, each refused call costing a point too), then with400past the first GiB, which a sampled rehearsal had stayed under. Neither is a bug; an operator moving accounts in needs to know before, as the guide says of the upload size.How it was checked
The move itself: with
PDS_RATE_LIMITS_ENABLED=falseandPDS_BLOB_QUOTA_BYTESat 50 GiB, the copy runs at about 27 MB/s with no failures. The docs site's build checks the links and anchors (LIMITS.md#blobs,#rate-limits).Shortcomings
No
.changeset: nothing changes for an operator but what the guide tells them.