Multithreading within a request

2006-04-06 Thread Andrew Dixon
Hi All. Is it possible to multithread within a single request. For example, I would like to make multiple http requests to a web service, but at the moment they run one after the other, taken about 3 seconds each, but if I could run them both at the same time it would improve the performance of

RE: Multithreading within a request

2006-04-06 Thread Dave Watts
Is it possible to multithread within a single request. For example, I would like to make multiple http requests to a web service, but at the moment they run one after the other, taken about 3 seconds each, but if I could run them both at the same time it would improve the performance of

Re: Multithreading within a request

2006-04-06 Thread Barney Boisvert
You can't do it with CF natively, as CF doesn't expose any threading capabilities. You have to use Java to do it, though Sean Corfield built a concurrency toolkit that leveraged event gateways to let you get some functionality from native CF (since he wrote the Java). I don't know where to find

Re: Multithreading within a request

2006-04-06 Thread Andrew Dixon
I'm stuck using MX6.1, so the gateway is not an option. Andrew. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237127 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription:

RE: Multithreading within a request

2006-04-06 Thread Andy Matthews
:[EMAIL PROTECTED] Sent: Thursday, April 06, 2006 3:11 PM To: CF-Talk Subject: Multithreading within a request Hi All. Is it possible to multithread within a single request. For example, I would like to make multiple http requests to a web service, but at the moment they run one after the other

Re: Multithreading within a request

2006-04-06 Thread One User
Is it possible to multithread within a single request. For example, I would like to make multiple http requests to a web service, but at the moment they run one after the other, taken about 3 seconds each, but if I could run them both at the same time it would improve the performance of

Re: Multithreading within a request

2006-04-06 Thread Gareth
: Multithreading within a request Hi All. Is it possible to multithread within a single request. For example, I would like to make multiple http requests to a web service, but at the moment they run one after the other, taken about 3 seconds each, but if I could run them both at the same time it would

Re: Multithreading within a request

2006-04-06 Thread Rob Wilkerson
I've done this using Java. Started doing it in 6.0 and have continued using the same code through 7.0x because gateways require CF Enterprise and not all of my customers run enterprise. I don't have the code handy, but take a look at the java.util.URLConnection class. There are obviously some