Anyone have experience with BackgrounDRB?
- Jdf
- Posts: 2
- Starts: 2
- Wiki Edits: 0
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?
- William
- Posts: 1062
- Starts: 32
- Wiki Edits: 56
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
- Jdf
- Posts: 2
- Starts: 2
- Wiki Edits: 0
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
- Kumar
- Posts: 455
- Starts: 0
- Wiki Edits: 5
Hello,
It would be better to send the emails in batches so that your email limits are not exceeded or crossed. Thanks
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- Jdf
- Posts: 2
- Starts: 2
- Wiki Edits: 0
Thanks. That's what I suspected. What's a safe number of emails to send per SMTP connection?
2007-05-30 08:19 PM
- Varun
- Posts: 410
- Starts: 0
- Wiki Edits: 0
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
- Micktaiwan
- Posts: 4
- Starts: 2
- Wiki Edits: 0
- Location: Toulouse, France
Hi Williams,
How do I know my Rails app current port ? (So I can add a digit after it for backgroundrb port).
Thanks,
Mickael.
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
- Rahul
- Posts: 509
- Starts: 0
- Wiki Edits: 1
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.
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