users@grizzly.java.net

Re: AIO based HTTP client

From: Ryan Lubke <ryan.lubke_at_oracle.com>
Date: Mon, 21 May 2012 14:13:36 -0700

On 5/21/12 11:08 AM, azlist1_at_gmail.com wrote:
> Hi!
>
> I'm evaluating the possibilities of implementing a NIO.2 / AIO based
> HTTP client for a webcrawler I'm developing.
>
> I was wondering what grizzly had to offer for that matter.
>
> Where should I start ? Is there a AIO HTTP client already existing in
> Grizzly ? Or should I develop it myself ?
>
> The idea would be to be able to crawl thousands of domains
> simultaneously only using 4 or 5 threads. I would fire the http
> request and wait for it to complete before processing it.
>
> Any help, tutorials, examples appreciated.
Grizzly currently doesn't support NIO.2.

That said, if you need a non-blocking/async HTTP client, Grizzly does
provide
an AHC provider for the Sonatype Async HTTP Client library.

>
>
> Thanks
>
> Alex