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 prevents you from having 
multiple clients at the same time. This is an exception and not the rule, but 
you may want to ask the service provider.

If it is a restful web service, then you can probably assume yes.

—Keenan  


On Wednesday, March 28, 2012 at 10:30 AM, gkr wrote:

> 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 
> (http://thebrocks.net)> wrote:
> > 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, this is running on ec2.
> > So most of the ip addresses are in spam black lists for smtp. Don't think 
> > pop has the same constraint.
> > So if you are sending out email use send grid, amazon's simple mail 
> > service, or another.
> >  
> > —Keenan
> >  
> >  
> >  
> >  
> >  
> >  
> >  
> > On Wednesday, March 28, 2012 at 2:37 AM, gkr wrote:
> > > 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 ?
> > >  
> >  
> >  
> > > Thanks
> >  
> > > --
> > > You received this message because you are subscribed to the Google Groups 
> > > "Heroku" group.
> > > To post to this group, send email to heroku@googlegroups.com 
> > > (mailto:heroku@googlegroups.com).
> > > To unsubscribe from this group, send email to 
> > > heroku+unsubscr...@googlegroups.com 
> > > (mailto:heroku+unsubscr...@googlegroups.com).
> > > For more options, visit this group 
> > > athttp://groups.google.com/group/heroku?hl=en.
> > >  
> >  
> >  
>  
>  
> --  
> You received this message because you are subscribed to the Google Groups 
> "Heroku" group.
> To post to this group, send email to heroku@googlegroups.com 
> (mailto:heroku@googlegroups.com).
> To unsubscribe from this group, send email to 
> heroku+unsubscr...@googlegroups.com 
> (mailto:heroku+unsubscr...@googlegroups.com).
> For more options, visit this group at 
> http://groups.google.com/group/heroku?hl=en.
>  
>  


-- 
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to heroku@googlegroups.com.
To unsubscribe from this group, send email to 
heroku+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.

Reply via email to