108k views
4 votes
A mobile app enables users to post and share images on a social media platform. The architecture requires users to upload images through the app to a single S3 bucket in us-east-1. Thousands of images being posted every minute, and users expect real time access to a stream of images from other users around the world. Which solution would you recommend for maximum performance.

- Enable S3 transfer acceleration
- Enable S3 CRR
- Create an S3 lifecycle policy that removes infrequently accessed images

User Mreichelt
by
8.6k points

1 Answer

2 votes

Final answer:

To ensure real-time access and high performance for a social media image sharing app, enabling S3 transfer acceleration is recommended as it quickens data transfers globally.

Step-by-step explanation:

To maximize performance for real-time access to shared images on a social media platform, the most suitable solution would be to enable S3 transfer acceleration. This feature significantly speeds up the upload and download of content to and from Amazon S3 by making use of Amazon CloudFront's globally distributed edge locations. In contrast, enabling S3 Cross Region Replication (CRR) allows for copying of objects across S3 buckets in different AWS regions, which is useful for data locality and compliance, but it doesn't directly improve user-perceived performance as transfer acceleration does. Lastly, creating an S3 lifecycle policy that removes infrequently accessed images could be beneficial for cost optimization but has no impact on delivering real-time performance for image sharing.

User Faaez
by
8.8k points