O'Reilly logo

Implementing Cloud Design Patterns for AWS by Marcus Young

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Storage index pattern

If you are following along with the patterns, you might notice that the previous pattern is a bit slow to display from the web server. When we iterated over the objects through the PHP API, there were a lot of calls being made in the background, such as SSL handshakes, IAM authorization for the calls and objects themselves, and so on.

We could improve heavily on the previous example by indexing the files that are to be uploaded. The proxy server that uploads to S3 could cache or store metadata about the file. This would ensure that the user gets a much quicker response, instead of waiting for the S3 calls to complete on each refresh of the web server. It should also be noted that without this improvement, the number of API ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required