[p2p-hackers] Tighter HTTP and P2P integration??

Charles Iliya Krempeaux supercanadian at gmail.com
Thu Feb 16 16:22:04 UTC 2006


Hello Karl,

On 2/16/06, Karl A. Magdsick <kmagdsick at limewire.com> wrote:
>
> Charles Iliya Krempeaux wrote:
> [snip]
>
> >I suppose if the "Link" header is being used to return information,
> >this could be generalized to make this "conditional get" be a way to
> >probe for "Link" data.
> >
> >So, instead of using "X-If-No-Alternate" it could be "X-If-No-Link"
> >(and then specify what relation or other meta data you want).
> >
> >For example, I could get a blogs RSS feed with:
> >
> >    X-If-No-Link: rel="alternate"; type="application/rss+xml"
> >
> >Although the exact notation may need to be different since using the
> >
> >
> Why add an extra header in this case?  It would be less intrusive to the
> webserver
> code if the client issues a HEAD request and checks for Link headers,
> rather
> than add a completely new X-If-No-Link header.
>
> There's 2 reasons.

The first is that it would be for the same reason that we have the other
"conditional gets"... speed.  The time it takes to "create" and "tear down"
a TCP connection is significant.  And, from a users point of view, will
impact usability, in that it will make things seem slower (if we have to
create 2 separate TCP connections for every request we want to do).

If you could assume that ever server always had a "persistent connection"
(or "keep alive" connection, or whatever you want to call them), then this
wouldn't be an issue.  But, you can't make that assumption.  So that's why
"conditional gets" are used.

And the second (and probably more important reason) is that I'm making the
assumption that the server would NOT always give all these Link headers.
(And that some kind of "probing request", like via "X-If-No-Link", is
required.)


Comments?  Suggestions?

See ya

--
    Charles Iliya Krempeaux, B.Sc.

    charles @ reptile.ca
    supercanadian @ gmail.com

    developer weblog: http://ChangeLog.ca/
___________________________________________________________________________
Make Television                                http://maketelevision.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://zgp.org/pipermail/p2p-hackers/attachments/20060216/9ad58d30/attachment.htm


More information about the P2p-hackers mailing list