RightAWS

来自开放百科 - 灰狐
跳转到: 导航, 搜索

The RightScale AWS gems have been designed to provide a robust, fast, and secure interface to Amazon EC2, Amazon S3, Amazon SQS, and Amazon SDB. These gems have been used in production by RightScale since late 2006 and are being maintained to track enhancements made by Amazon. The RightScale AWS gems comprise:

  • RightAws::Ec2 — interface to Amazon EC2 (Elastic Compute Cloud)
  • RightAws::S3 and RightAws::S3Interface — interface to Amazon S3 (Simple Storage Service)
  • RightAws::Sqs and RightAws::SqsInterface — interface to first-generation Amazon SQS (Simple Queue Service) (API version 2007-05-01)
  • RightAws::SqsGen2 and RightAws::SqsGen2Interface — interface to second-generation Amazon SQS (Simple Queue Service) (API version 2008-01-01)
  • RightAws::SdbInterface and RightAws::ActiveSdb — interface to Amazon SDB (SimpleDB)

FEATURES

  • Full programmmatic access to EC2, S3, SQS, and SDB.
  • Complete error handling: all operations check for errors and report complete error information by raising an AwsError.
  • Persistent HTTP connections with robust network-level retry layer using RightHttpConnection). This includes socket timeouts and retries.
  • Robust HTTP-level retry layer. Certain (user-adjustable) HTTP errors returned by Amazon‘s services are classified as temporary errors. These errors are automaticallly retried using exponentially increasing intervals. The number of retries is user-configurable.
  • Fast REXML-based parsing of responses (as fast as a pure Ruby solution allows).
  • Uses libxml (if available) for faster response parsing.
  • Support for large S3 list operations. Buckets and key subfolders containing many (> 1000) keys are listed in entirety. Operations based on list (like bucket clear) work on arbitrary numbers of keys.
  • Support for streaming GETs from S3, and streaming PUTs to S3 if the data source is a file.
  • Support for single-threaded usage, multithreaded usage, as well as usage with multiple AWS accounts.
  • Support for both first- and second-generation SQS (API versions 2007-05-01 and 2008-01-01). These versions of SQS are not compatible.
  • Test suite (requires AWS account to do "live" testing).

Links

分享您的观点
个人工具
名字空间

变换
操作
导航
工具箱