6

Is there a good library/gem for accessing Amazon SQS from ruby1.9? The Amazon ruby example and right_aws do not work as-is with ruby1.9.

I'd strongly prefer something that's known to work under reasonably heavy load (a few hundred thousand queue items or more per day).

Jonik
  • 80,077
  • 70
  • 264
  • 372
fields
  • 4,433
  • 4
  • 27
  • 32

5 Answers5

6

Try the Appoxy AWS library, it was forked from right_aws a while back just for Ruby 1.9 and has come along way since then supporting a lot more than right_aws now.

http://github.com/appoxy/aws/

Travis Reeder
  • 38,611
  • 12
  • 87
  • 87
6

The official right_aws gem (>=2.0) seems to work with Ruby 1.9.2

http://rubygems.org/gems/right_aws

UPDATE: Amazon recently made an official gem which has SQS support: http://aws.amazon.com/sdkforruby/

tommy chheng
  • 9,108
  • 9
  • 55
  • 72
1

The comments on isitruby19.com point to a patch and a fork of the right_aws gem which provide Ruby 1.9 support.

Olly
  • 3,409
  • 3
  • 24
  • 28
0

Take a look into Sqskiq page for details of how to process messages in background in a easy way. This gem uses celluloid actors (like sidekiq does) and has features to avoid/minimizes sqs costs.

0

This FanSQS gem supports SQS. I haven't test it with Ruby 1.9 but looks very promising.

RubyFanatic
  • 2,241
  • 3
  • 22
  • 35