System Diagrams โ
High-level architecture and flow diagrams for Stratos.
System Architecture โ
๐๏ธ
User PDS
pds.bsky.social
โ๏ธ
Stratos Service
API ยท OAuth ยท repo
๐
DID Resolver
PLC ยท did:web
๐ฆ
Blob Storage
disk or S3
๐ข๏ธ
PostgreSQL
indexed records
Record Hydration Sequence โ
๐๏ธ
PDS
pds.bsky.social
has stub record
โ๏ธ
Stratos Service
stratos.example.com
holds full records
๐stub record
โ stratos.example.com
๐DPoP token
user auth
๐verifying auth
โchecking boundaries
๐ฆhydrated record
full content + metadata
Enrollment & Allowlist Mechanism โ
๐ง
User
OAuth request
โ๏ธ
Stratos Service
enrollment
โ
Eligibility Check
DID ยท PDS ยท external
๐๏ธ
User PDS
enrollment record
Indexer Sync Architecture โ
๐ฅ
PDS Firehose
subscribeRepos
โ๏ธ
Stratos Stream
subscribeRecords
๐
Indexer
stratos-indexer
๐ข๏ธ
PostgreSQL
stratos_post ยท boundaries