Re: Scalability of Heroku worker job with external network connection

2012-04-02 Thread gkr
Thanks Keenan, I am using Delayed Job. But code that connects to external server from different worker process may connect to same server IP/Port at the same time due to they are running in parallel, is that work without problem ? On Mar 28, 6:22 pm, Keenan Brock kee...@thebrocks.net wrote:

Re: Scalability of Heroku worker job with external network connection

2012-04-02 Thread Keenan Brock
Hello Gkr, Yes, a bunch of clients can all connecting to the same server (target ip/port) at the same time. This is how the web works. (a bunch of browsers all connect to the web server running on heroku.com (http://heroku.com) port 80) Some websites / services were written in a way that

Scalability of Heroku worker job with external network connection

2012-03-28 Thread gkr
Hi, Is it allowed to make network connection to external server (ex.pop3) from worker job(Rails3 app) ? If yes can the job run in parallel because adding more worker will which I guess make the jobs to connect to same server IP/Port from different worker, Is that make connection conflicts ?

Re: Scalability of Heroku worker job with external network connection

2012-03-28 Thread Keenan Brock
Hello Gkr, Yes, multiple workers can run at the same time. People like delayed job and resque, though I'm sure there are other options out there as well. The processes can access external ports. You may have to have a paid account for that (credit card on file). One thing to keep in mind,