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 ot

Re: Multithreading within a request

2006-04-06 Thread Gareth
D]> To: "CF-Talk" Sent: Thursday, April 06, 2006 9:11 PM 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, taken

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 perform

RE: Multithreading within a request

2006-04-06 Thread Andy Matthews
I believe you could do this with an event gateway. They're asynchronous requests and can have multiple threads. -Original Message- From: Andrew Dixon [mailto:[EMAIL PROTECTED] Sent: Thursday, April 06, 2006 3:11 PM To: CF-Talk Subject: Multithreading within a request Hi All.

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: http://www.houseoffus

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 i

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

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 th