Welcome Guest | Login

Anyone have experience with BackgrounDRB?

I'm pondering the use of BackgrounDRB for some long-running tasks like emailing a bunch of users. Has anyone had any experience installing/using it with this host? Is it a pain to set up? Specifically, I see that it wants its own port to run on; would I need to have a dedicated port (in addition to my Mongrel port) to do so?

2007-05-30 12:17 PM

Yes, you'd need to make sure you have enough dedicated memory on your account to run the DRB process. You would start it up on a port by adding a 0,1,2,3 etc.. to the end of your current port.  For emailing users, however, check out ar_mailer - - its a bit easier to setup and won't get you flagged for resource usage like a DRB process might...

2007-05-30 02:50 PM

Thanks, that certainly looks a lot easier to set up. is it smart enough not to choke an SMTP connection if I find myself with 200 emails queued up? Or is that best accomplished by setting it to deliver a sane number of emails per batch, and calling it via a cron job at some interval? This would be used for infrequent notifications to my entire user base rather than individual emails.

2007-05-30 03:56 PM

Hello,

It would be better to send the emails in batches so that your email limits are not exceeded or crossed. Thanks

2007-05-30 05:34 PM

HostingRails Support
Thanks. That's what I suspected. What's a safe number of emails to send per SMTP connection?

2007-05-30 08:19 PM

The Maximum number of emails your domain can send out per hour is 250 as per the tweaked setting on your server. If you exceed this limit with in an hour those emails would get bounced.  

2007-05-30 10:51 PM

Hi Williams,

How do I know my Rails app current port ? (So I can add a digit after it for backgroundrb port).

Thanks,
Mickael.

2007-12-23 03:59 AM

Mickael,

Please note that this is a public forum, so do post a ticket to the support department if you want any account specific details.

2007-12-23 04:42 AM

Regards,
Rahul

Hello Guest! In order to post you must be an active client with us, please log in or sign up today!