Re: documentation ???
Gisle Aas (gisle@aas.no)
14 Oct 1998 11:59:54 +0200
Mike <webmaster@hubeicorp.com> writes:
> >From the LWP documentation:
>
> =head1 BUGS
>
> The library can not handle Multiple Simultaneous Requests (MSR's) yet.
> Also, check out what's left in the TODO file.
>
> What about building a queue and feeding the requests into libwww one at a
> time from the queue. This would ensure that MSR's don't happen. Has anyone
> tried that? It sounds slow!
This will not give you anything new. It will be the same as sending
requests sequentially.
> If I *had* to handle MSR's, what would be the best way to go about it? I
> definately don't want to reinvent the wheel. Especially considering I don't
> understand it yet.
Both Marc Langheinrich's ParallelUserAgent and LWPng are able to fetch
multiple documents simultaneously. It means that the client sets up
multiple network connections at the same time and keep them all busy
by receiving data from all of them.
> >From todo.
>
> o HTTP/1.1 support is on its way. This also includes support of
> multiple parallel connections. Take a look at LWPng (aka
> libwww-perl-6).
>
> Anyone have an idea what kind of a time frame "on it's way" might be?
It currently works if you want to use it. Documentation is lacking
and I will not promise that I will not change the programming
interface before the official release is made. It is available on CPAN.
> Will multiple parallel connections allow multiple simultaneous requests?
Yup.
> Todo also mentions more documentation. If I ever figure this thing out, I
> could write, "The Documentation For Idiots."
Great! We need to fill up lwpcook.pod again. It is starting to get
thin as things are unbundled for LWP. A FAQ would perhaps also be
nice to have.
Regards,
Gisle