Embedding base64 building photos in DynamoDB items approaches size limits and slows reads. What should developers do?
Select an answer to reveal the explanation.
Short Explanation
Photos aren’t attributes—they’re objects. Put the image in S3 and leave a skinny pointer in DynamoDB so reads stay fast and under the size cap.
Full Explanation
DynamoDB’s 400 KB item limit and read amplification make embedded binaries a poor pattern. Offloading blobs to S3 with metadata/references in DynamoDB is the recommended approach. There is no “large-item mode” that removes the limit for arbitrary base64 photos; sort keys and email inboxes are not object stores.