Object Storage System Design 𝐁𝐮𝐜𝐤𝐞𝐭. A logical container for objects. The bucket name is globally unique. To upload data to S3, we must first create a bucket. 𝐎𝐛𝐣𝐞𝐜𝐭. An object is an individual piece of data we store in a bucket. It contains object data (also called payload) and metadata. Object data can be any sequence of bytes we want to store. The metadata is a set of name-value pairs that describe the object. In S3, an object resides in a bucket. The path looks like this: /bucket-to-share/style.css. The bucket only has metadata. The object has metadata and the actual data. The diagram below (Figure 1) illustrates how file uploading works. In this example, we first create a bucket named and then upload a file named “style.css” to the bucket. 1. The client sends an HTTP PUT request to create a bucket named “bucket-to-share.” The request is forwarded to the API service. 2. The API service calls Identity and Access Management (IAM) to ensure the user is authorized and has W...
Comments
Post a Comment