Search code examples
pythonperformancegoogle-app-enginegoogle-cloud-storageblobstore

What is the preferred method for serving images


With the arrival of GAE 1.9.0 we do not need a payed application to use cloudstorage. I used to serve images using Google High Performance Image Serving using the blobstore and a get_serving_url.

Example:

https://lh6.ggpht.com/lOghqU2JrYk8M-Aoio8WjMM6mstgZcTP0VzJk79HteVLhnwZy0kqbgVGQZYP8YsoqVNzsu0EBysX16qMJe7H2BsOAr4j=s70

Now I can serve images and other objects using cloudstorage and a default bucket:

http://storage.googleapis.com/<app_id>.appspot.com/<folder>/<filename> 

Example:

https://storage.googleapis.com/jinjacms.appspot.com/energiekantoor/ek_sign.gif

What is the preferred method (cost / performance) besides other cloud storage benefits like folders, acl and metadata and if I do not need the size and crop arguments of get_serving_url.


Solution

  • Cloud Storage is way cheaper than a BlobStore. This is the only reason to move from BlobStore to Cloud Storage.

    UPDATE (June 2014):

    Google reduced the prices for both services. Now they cost the same.