Graeme, thanks for the example. I wonder what the number of threads is that process the responses ? Is it the number of Processors from Runtime class, is it configurable ?
2015-03-04 11:04 GMT+01:00 Graeme Wallace <[email protected]>: > Async Http package does what you are looking for. > > https://hc.apache.org/httpcomponents-asyncclient-dev/examples.html > > 3rd example down is where you want to start. > > > Graeme > > On Wed, Mar 4, 2015 at 9:54 AM, Paul Bear <[email protected]> wrote: > > > I have a large list of URLs (about 1 millon) and I want to run > > > > - one thread that runs through the list and asynchronously sends GET > > requests > > - several worker threads that process the responses > > > > Is it possible to separate sending GETs and processing responses in > > different threads using Apache Client ? > > > > Any ideas are welcome! > > > > > > -- > Graeme Wallace > CTO > FareCompare.com > O: 972 588 1414 > M: 214 681 9018 >
