Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Is CloudFront (backed by S3) a good way to serve user-uploaded pictures? For example forum avatars. Or maybe there is a better way?

share|improve this question
    
What are your needs? What would distinguish between a good way and a bad way (Cost, scalability, difficulty, resilience, capacity etc.)? What have you tried and why isn't that good enough? –  Ladadadada Jun 14 '12 at 9:17
    
@Ladadadada The main criteria is performance (latency). Uploaded image will be served at least thousands times a day. Also the images should be immediately available after upload. Also system needs to have reasonable costs and complexity. –  Poma Jun 14 '12 at 9:37

1 Answer 1

up vote 0 down vote accepted

Cloudfront/s3 is a good solution if performance matters and the images will have 1000+ hits/day. The complexity and costs are also reasonable in my experience. You also have a Read-after-Write Consistency for s3 if you create new objects. You dont have that consistency for updated objects, though.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.