Blobs are an unstructured data object in a binary format, such as an image, video, or audio recording, that is stored within a user's Personal Data Server (PDS). Blobs enable rich media sharing within the ATmosphere while maintaining the protocol's content-addressed architecture.
Unlike text-based content such as posts, which stored directly in repository records, blobs are handled separately due to their size and binary nature. They are referenced by records using a Content Identifier (CID), a special data type that includes a cryptographic identifier. This allows for efficient storage and distributions of large files and flexible media handling across different applications, while maintaining content verification through cryptographic hashing.
Blobs within the AT Protocol are uploaded alongside a record. For example, a user might publish a post with an attached image or video. Blobs follow a specific lifecycle:
While stored on an actor's PDS, blobs are typically served to users via specialized protocol-independent content delivery networks. This separation between storage and distribution allows applications to optimize media delivery, such as creating thumbnails or transcoding videos for different devices.
Each blob within a PDS includes a Content Identifier (CID), size information, and a MIME type specification (e.g. image/jpeg, video/mp4). The CID ensures content identity, as any change to the blob would result in a different identifier, making it impossible to tamper with media content without detection.
Since blobs can contain any type of content, the AT Protocol implements several safety features for server operators.
External links