Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
ATProto Wiki
Search
Search
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Data repository
(section)
Page
Discussion
English
Read
Edit
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
Edit source
View history
General
What links here
Related changes
Special pages
Page information
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Architecture == Repositories are built on a [[Merkle Search Tree (MST)]] data structure, which reduces the entire state to a single root hash. The repository structure consists of three main layers: * '''Commit''': The signed root that authenticates the entire repository * '''Tree Nodes''': The internal structure organizing the data * '''Records''': The actual content (posts, likes, follows, etc.) Each element in this structure is a [https://ipld.io/specs/codecs/dag-cbor/spec/ DAG-CBOR] object referenced by a [[Content Identifier (CID)]] hash. Repositories can be synchronized across multiple PDSes, allowing users to maintain multiple distributed copies of their data. Content within repositories can be addressed using [[AT URI|AT URIs]], which follow a hierarchical pattern:<syntaxhighlight lang="text"> at://alice.com # Repository root at://alice.com/app.bsky.feed.post # Collection at://alice.com/app.bsky.feed.post/1234 # Specific record </syntaxhighlight>
Summary:
Please note that all contributions to ATProto Wiki are considered to be released under the Creative Commons Attribution-ShareAlike (see
ATProto Wiki:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Toggle limited content width