July 29th, 2008 @ 3:51pm | njames | Categories Research | No Comments »
Amazon propose dans ses pages de présentation de ses services, un exemple d'infrastructure basée sur ses Web Services, un processus (un business process) d'adaptation de contenu multimédia. Pour mémoire, les services d'Amazon concernés seraient:
  • Amazon SQS, Simple Queue Service: proprose une infrastructure de messagerie, style MOM, avec une API simplissime, nombre de queues/account illimitées, nombre de messages/queues illimités, message texte de 1B à 8KB en HTTP Query et de 1B à 256KB en SOAP ou REST, formatage du texte indépendant, les messages sont retenus dans les queues pour 4 jours;
  • Amazon EC2, Elastic Compute Cloud: cloud computing;
  • Amazon S3, Simple Storage Service: stockage de données, de 1B à 5GB, interface SOAP et REST, le transport par défaut est HTTP (BitTorrent supporté);
  • Amazon SimpleDB: stockage de données structurées, et système de requêtage. Stocker, traiter et requêter des ensembles de données dans le cloud;
For example, here is how a video transcoding website uses Amazon EC2, Amazon SQS, Amazon S3, and Amazon SimpleDB together. End users submit videos to be transcoded to the website.  The videos are stored in Amazon S3, and a message ("the request message") is placed in an Amazon SQS queue ("the incoming queue") with a pointer to the video and to the target video format in the message. The transcoding engine, running on a set of Amazon EC2 instances, reads the request message from the incoming queue, retrieves the video from Amazon S3 using the pointer, and transcodes the video into the target format.  The converted video is put back into Amazon S3 and another message ("the response message") is placed in another Amazon SQS queue ("the outgoing queue") with a pointer to the converted video. At the same time, metadata about the video (e.g., format, date created and length) can be indexed into Amazon SimpleDB for easy querying. During this whole workflow, a dedicated Amazon EC2 instance can constantly monitor the incoming queue and, based on the number of messages in the incoming queue, is able to dynamically adjust the number of transcoding Amazon EC2 instances to meet customers' response time requirements.