9

Which one should I use? What are the pros and cons to using each? The images will all be less than 100 kilobytes. 3 kilobyte thumbnails of each image will be retrieved quite often, like 2 to 5 on each page view on average.

Which would be better to use, considering latency in retrieving the images, cost in CPU time of retrieving the images, and any other factors?

1
  • You might forgot about this questions.. but I think it's time to pick an answer.. My vote is for Blobstore as well :)
    – Lipis
    Commented Sep 2, 2012 at 9:46

4 Answers 4

8

This question came up again recently and has a great and detailed answer here. BlobStore storage is cheaper, and since BlobStore can serve the images directly without having to go through your app, you'll also gain efficiency and save on CPU cost. In your case, caching is very important, and BlobStore will automatically cache your images. It takes longer to set up, but as Swizec said, serving images is exactly what it was designed to do.

So the answer is: BlobStore.

3

If it's profile picks, I don't think you should use either service. Gravatar provides a profile pic service for free and it won't affect your quotas. Just make a url composed of a checksummed version of the users email address.

2

The BlobStore was designed to store and serve binary files.

The datastore was not.

It's really quite that simple.

Oh and if you ever want to crop images and such Google's images library works very well together with the blobstore.

0

If your blob is comfortably and consistently under the 1MB entity size limit, there's no advantage in using the blobstore.

1
  • 1
    Not true. If you are serving images, the blobstore is much better since you can use get_serving_url, and serve the image off of google's image servers, and not use any app engine instance time.
    – maddyblue
    Commented Apr 7, 2012 at 4:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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