Is Amazon SQS the right choice here? Rails performance issue.
Posted
by ole_berlin
on Stack Overflow
See other posts from Stack Overflow
or by ole_berlin
Published on 2009-05-23T13:04:05Z
Indexed on
2010/04/17
14:23 UTC
Read the original article
Hit count: 227
I'm close to releasing a rails app with the common networking features (messaging, wall, etc.). I want to use some kind of background processing (most likely Bj) for off-loading tasks from the request/response cycle.
This would happen when users invite friends via email to join and for email notifications.
I'm not sure if I should just drop these invites and notifications in my Database, using a model and then just process it with a worker process every x minutes or if I should go for Amazon SQS, storing the messages and invites there and let my worker retrieve it from Amazon SQS for processing (sending the invites / notifications).
The Amazon approach would get load off my Database but I guess it is slower to retrieve messages from there.
What do you think?
© Stack Overflow or respective owner