fields
fields

Reputation: 4653

Ruby1.9 and Amazon SQS?

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).

Upvotes: 6

Views: 3024

Answers (5)

RubyFanatic
RubyFanatic

Reputation: 2281

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

Upvotes: 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.

Upvotes: 0

tommy chheng
tommy chheng

Reputation: 9218

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/

Upvotes: 6

Travis Reeder
Travis Reeder

Reputation: 41083

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/

Upvotes: 6

Olly
Olly

Reputation: 3437

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

Upvotes: 1

Related Questions