RubyGems Navigation menu

right_aws 1.1.0

RightAws::Ec2 is a Ruby library for the Amazon EC2 (Elastic Compute Cloud) service. RightAws::S3 and RightAws::S3Interface are Ruby libraries for the Amazon S3 (Simple Storage Service) service. RightAws::Sqs and RightAws::SqsInterface is a Ruby library for the Amazon SQS (Simple Queue Service) service. All RightAws interfaces work in one of two ways: 1) They use a single persistent HTTP connection per process or 2) per Ruby thread. Foir example, it doesn't matter how many RightAws::S3 objects you create, they all use the same per-program or per-thread connection. The purpose of sharing the connection is to keep a single persistent HTTP connection open to avoid paying connection overhead on every request. However, if you have multiple concurrent threads, you may want or need an HTTP connection per thread to enable concurrent requests to S3. The way this plays out in practice is: 1) If you have a non-multithreaded Ruby program, use the non-multithreaded setting for Gem. 2) If you have a multi-threaded Ruby program, use the multithreaded setting to enable concurrent requests to S3 (SQS, EC2). 3) For running under Mongrel/Rails, use thhe non-multithreaded setting for Gem even though Mongrel is multithreaded. This is because only one Rails handler is invoked at any time (i.e. it acts like a single-threaded program)

Gemfile:
=

安装:
=

版本列表:

  1. 3.1.0 June 13, 2013 (195.0 KB)
  2. 3.0.5 March 05, 2013 (191.5 KB)
  3. 3.0.4 April 10, 2012 (187.5 KB)
  4. 3.0.3 March 08, 2012 (187.5 KB)
  5. 3.0.0 November 15, 2011 (187.0 KB)
  6. 1.1.0 August 15, 2007* (44.0 KB)
显示所有版本 (共 24 个)

Runtime 依赖 (3):

activesupport >= 1.4.1
hoe >= 1.2.1

业主:

作者:

  • RightScale, Inc.

SHA 256 校验和:

=

下载总量 11,190,458

这个版本 3,862

版本发布:

许可:

需要的 Ruby 版本: > 0.0.0

链接: