in reply to Re^17: Async DNS with LWP
in thread Async DNS with LWP
I see what you mean. In fact, I was toying with the idea of the following architecture to maximise throughput:
* Setup asycnronous DNS to quickly resolve all of the 90,000,000 domains to find out which domains reside at the same IP (shared hosting domains).
* Send out a TCP ack to each web server (asynchronously) to get a shortlist of which domain names actually have a web server which responds (should send a RST in response to unexpected ACK).
* Then send out TCP connects with a short timeout to short list servers which respond faster.
* To those that respond fast enough send out HEAD requests to obtain document sizes.
* Asynchronously GET the smallest documents first such that database of links experiences the fastest possible growth. Any thoughts?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^19: Async DNS with LWP
by BrowserUk (Patriarch) on Oct 09, 2010 at 20:06 UTC | |
by jc (Acolyte) on Oct 09, 2010 at 21:13 UTC | |
by BrowserUk (Patriarch) on Oct 10, 2010 at 08:50 UTC | |
|
Re^19: Async DNS with LWP
by roboticus (Chancellor) on Oct 10, 2010 at 17:07 UTC | |
by jc (Acolyte) on Oct 10, 2010 at 20:14 UTC |