Hi Alex,<br>Finally got a chance to read this. Is a good description of the problem/scope.<br><br>I have a question for all with regard to RFC3229. It would be entirely possible for us to design the http-sync to be an extension of RFC3229, basically add a new conditional request if-blocks-match or something of the like, and expect a response with 226 instance coding applied.<br>
<br>If we take this approach then our block encoding just becomes a standard instance coding. The presence of a if-blocks-match header can be taken to imply an accepts instance coding &#39;blocks&#39; or whatever we call it to save sending redundant information.<br>
<br>The question then becomes, is it worth the effort, the last lot of traffic I saw in a quick google search on rfc3229 was in 2004 with regard to blogs and so on. So it is not widely deployed. On the other hand with careful design of our protocol we can be compatible, so is there a reason not to do it?<br>
<br>Also a minor note, rather than having a small trailing block, why dont we just add the trailing data to the last large block, this way we dont end up with a hash thats almost the size of the block it represents (or in some cases bigger)<br>
<br>Toby<br><br><div class="gmail_quote">2009/4/29 Alex Wulms <span dir="ltr">&lt;<a href="mailto:alex.wulms@scarlet.be">alex.wulms@scarlet.be</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
<br>
Please find in attachment my current ideas on the http-crcsync protocol.<br>
<br>
I hope you don&#39;t mind but I have drafted the paper in open office and not as a<br>
plain text file. An open office version makes it easier to visibly divide the<br>
document in logical sections in order to enhance the readability and the<br>
structure. Though, I have added a text export for convenience, in case<br>
somenone might not have OO available.<br>
<br>
As I mentioned yesterday in this list, the paper is based on the insights that<br>
have grown while working on the crccache proxy modules and after studying the<br>
various papers on delta-encoding (the RFC, Toby&#39;s draft and the protocol<br>
proposal on the original rproxy site) and everything related to it.<br>
<br>
Like Toby proposed, maybe it would make sense to convert this into a wiki and<br>
continue the work there. What do you think?<br>
<br>
Cheers,<br>
Alex<br>
<br>
<br>
<br>
<br>
<br>
Op maandag 6 april 2009, schreef <a href="mailto:tridge@samba.org">tridge@samba.org</a>:<br>
<div><div></div><div class="h5">&gt; Hi Toby,<br>
&gt;<br>
&gt;  &gt; This is transmitted in two forms. One is an SHA1 hash of the complete<br>
&gt;  &gt; chached file, and the other is a set of block hashes.<br>
&gt;<br>
&gt; ...<br>
&gt;<br>
&gt;  &gt; Content-Hash:<br>
&gt;  &gt; This will be an sha1 hash of the entire cached body, and will allow the<br>
&gt;  &gt; server to transmit deltas based on its knowledge of past versions of the<br>
&gt;  &gt; page.<br>
&gt;<br>
&gt; How do you imagine that this hash would be used? I don&#39;t think it is<br>
&gt; practical to think that servers would keep a record of all the dynamic<br>
&gt; pages they have been served out, and for static pages I think the<br>
&gt; normal cache tag mechanisms already work well.<br>
&gt;<br>
&gt; I think a SHA1 or similar of the servers generated page is really<br>
&gt; worthwhile, but a whole file hash of what the client has in cache<br>
&gt; doesn&#39;t gain anything that I can see.<br>
&gt;<br>
&gt; btw, I also wonder if you&#39;ve seen this:<br>
&gt;<br>
&gt;   <a href="http://www.ietf.org/rfc/rfc3229.txt" target="_blank">http://www.ietf.org/rfc/rfc3229.txt</a><br>
&gt;<br>
&gt; That is the result of earlier efforts to standardise delta encoding in<br>
&gt; HTTP. I was a little bit involved in that effort, although it<br>
&gt; concentrated on storing old copies on the server, which I wasn&#39;t<br>
&gt; interested in.<br>
&gt;<br>
&gt; Still, it should provide some very useful background to the current<br>
&gt; effort.<br>
&gt;<br>
&gt; Cheers, Tridge<br>
</div></div><div><div></div><div class="h5">&gt; _______________________________________________<br>
&gt; Http-crcsync mailing list<br>
&gt; <a href="mailto:Http-crcsync@lists.laptop.org">Http-crcsync@lists.laptop.org</a><br>
&gt; <a href="http://lists.laptop.org/listinfo/http-crcsync" target="_blank">http://lists.laptop.org/listinfo/http-crcsync</a><br>
<br>
<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>This email is intended for the addressee only and may contain privileged and/or confidential information<br>