I can do an IRC chat, just name the time and place,<br><br>Toby<br><br><div class="gmail_quote">2009/6/8 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 all,<br>
<br>
The updated version of the http-crcsync standard/discussion paper is in the<br>
git repository at:<br>
<a href="http://repo.or.cz/w/httpd-crcsyncproxy.git?a=blob;f=crccache/doc/http_crcsync_protocol.odt;h=26c746a1a97fb4edeea37ed1d6ce8bb19638a03e;hb=49dd514544163bccc8be33bdee61603ea5664cbd" target="_blank">http://repo.or.cz/w/httpd-crcsyncproxy.git?a=blob;f=crccache/doc/http_crcsync_protocol.odt;h=26c746a1a97fb4edeea37ed1d6ce8bb19638a03e;hb=49dd514544163bccc8be33bdee61603ea5664cbd</a><br>

<br>
There are still a few open points:<br>
- Number of hashes<br>
- Hash size<br>
- Re-apply original content-encoding or not on the re-constructed entity?<br>
- How to indicate an error in the re-constructed entity to an HTTP 1.0 client.<br>
<br>
I would appreciate your input (especially of Toby, Tridge and Rusty) on these<br>
open points. How about discussing them next weekend on some irc channel, to<br>
get them closed?<br>
<br>
Kind regards,<br>
Alex Wulms<br>
<br>
<br>
Op donderdag 4 juni 2009, schreef Alex Wulms:<br>
<div><div></div><div class="h5">&gt; Hi everybody,<br>
&gt;<br>
&gt; Toby and I have recently discussed below idea of making http-crcsync an<br>
&gt; extension to RFC3229. We both believe it makes a lot of sense. If nobody<br>
&gt; objects, I&#39;ll start updating the protocol description document this Sunday<br>
&gt; accordingly after which Toby and I can fully align the Apache based code as<br>
&gt; well. Please note that Toby already implemented a first step in this<br>
&gt; direction, in order to experiment returning a 226 in stead of 200 response<br>
&gt; code with Apache.<br>
&gt;<br>
&gt; Pedro,<br>
&gt;<br>
&gt; Please don&#39;t let this protocol finetuning stop you from starting your work<br>
&gt; on the firefox client. The core of the protocol (e.g. the http-crcsync<br>
&gt; response body) will remain unchanged.<br>
&gt;<br>
&gt; Cheers,<br>
&gt; Alex<br>
&gt;<br>
&gt; Op woensdag 13 mei 2009, schreef Toby Collett:<br>
&gt; &gt; Hi Alex,<br>
&gt; &gt; Finally got a chance to read this. Is a good description of the<br>
&gt; &gt; problem/scope.<br>
&gt; &gt;<br>
&gt; &gt; I have a question for all with regard to RFC3229. It would be entirely<br>
&gt; &gt; possible for us to design the http-sync to be an extension of RFC3229,<br>
&gt; &gt; basically add a new conditional request if-blocks-match or something of<br>
&gt; &gt; the like, and expect a response with 226 instance coding applied.<br>
&gt; &gt;<br>
&gt; &gt; If we take this approach then our block encoding just becomes a standard<br>
&gt; &gt; instance coding. The presence of a if-blocks-match header can be taken to<br>
&gt; &gt; imply an accepts instance coding &#39;blocks&#39; or whatever we call it to save<br>
&gt; &gt; sending redundant information.<br>
&gt; &gt;<br>
&gt; &gt; The question then becomes, is it worth the effort, the last lot of<br>
&gt; &gt; traffic I saw in a quick google search on rfc3229 was in 2004 with regard<br>
&gt; &gt; to blogs and so on. So it is not widely deployed. On the other hand with<br>
&gt; &gt; careful design of our protocol we can be compatible, so is there a reason<br>
&gt; &gt; not to do it?<br>
&gt; &gt;<br>
&gt; &gt; Also a minor note, rather than having a small trailing block, why dont we<br>
&gt; &gt; just add the trailing data to the last large block, this way we dont end<br>
&gt; &gt; up with a hash thats almost the size of the block it represents (or in<br>
&gt; &gt; some cases bigger)<br>
&gt; &gt;<br>
&gt; &gt; Toby<br>
&gt; &gt;<br>
&gt; &gt; 2009/4/29 Alex Wulms &lt;<a href="mailto:alex.wulms@scarlet.be">alex.wulms@scarlet.be</a>&gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; Hi,<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Please find in attachment my current ideas on the http-crcsync<br>
&gt; &gt; &gt; protocol.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; I hope you don&#39;t mind but I have drafted the paper in open office and<br>
&gt; &gt; &gt; not as a<br>
&gt; &gt; &gt; plain text file. An open office version makes it easier to visibly<br>
&gt; &gt; &gt; divide the<br>
&gt; &gt; &gt; document in logical sections in order to enhance the readability and<br>
&gt; &gt; &gt; the structure. Though, I have added a text export for convenience, in<br>
&gt; &gt; &gt; case somenone might not have OO available.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; As I mentioned yesterday in this list, the paper is based on the<br>
&gt; &gt; &gt; insights that<br>
&gt; &gt; &gt; have grown while working on the crccache proxy modules and after<br>
&gt; &gt; &gt; studying the<br>
&gt; &gt; &gt; various papers on delta-encoding (the RFC, Toby&#39;s draft and the<br>
&gt; &gt; &gt; protocol proposal on the original rproxy site) and everything related<br>
&gt; &gt; &gt; to it.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Like Toby proposed, maybe it would make sense to convert this into a<br>
&gt; &gt; &gt; wiki and<br>
&gt; &gt; &gt; continue the work there. What do you think?<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Cheers,<br>
&gt; &gt; &gt; Alex<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Op maandag 6 april 2009, schreef <a href="mailto:tridge@samba.org">tridge@samba.org</a>:<br>
&gt; &gt; &gt; &gt; Hi Toby,<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;  &gt; This is transmitted in two forms. One is an SHA1 hash of the<br>
&gt; &gt; &gt; &gt;  &gt; complete chached file, and the other is a set of block hashes.<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; ...<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;  &gt; Content-Hash:<br>
&gt; &gt; &gt; &gt;  &gt; This will be an sha1 hash of the entire cached body, and will<br>
&gt; &gt; &gt; &gt;  &gt; allow<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; the<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;  &gt; server to transmit deltas based on its knowledge of past versions<br>
&gt; &gt; &gt; &gt;  &gt; of<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; the<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;  &gt; page.<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; How do you imagine that this hash would be used? I don&#39;t think it is<br>
&gt; &gt; &gt; &gt; practical to think that servers would keep a record of all the<br>
&gt; &gt; &gt; &gt; dynamic pages they have been served out, and for static pages I think<br>
&gt; &gt; &gt; &gt; the normal cache tag mechanisms already work well.<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; I think a SHA1 or similar of the servers generated page is really<br>
&gt; &gt; &gt; &gt; worthwhile, but a whole file hash of what the client has in cache<br>
&gt; &gt; &gt; &gt; doesn&#39;t gain anything that I can see.<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; btw, I also wonder if you&#39;ve seen this:<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;   <a href="http://www.ietf.org/rfc/rfc3229.txt" target="_blank">http://www.ietf.org/rfc/rfc3229.txt</a><br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; That is the result of earlier efforts to standardise delta encoding<br>
&gt; &gt; &gt; &gt; in HTTP. I was a little bit involved in that effort, although it<br>
&gt; &gt; &gt; &gt; concentrated on storing old copies on the server, which I wasn&#39;t<br>
&gt; &gt; &gt; &gt; interested in.<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; Still, it should provide some very useful background to the current<br>
&gt; &gt; &gt; &gt; effort.<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; Cheers, Tridge<br>
&gt; &gt; &gt; &gt; _______________________________________________<br>
&gt; &gt; &gt; &gt; Http-crcsync mailing list<br>
&gt; &gt; &gt; &gt; <a href="mailto:Http-crcsync@lists.laptop.org">Http-crcsync@lists.laptop.org</a><br>
&gt; &gt; &gt; &gt; <a href="http://lists.laptop.org/listinfo/http-crcsync" target="_blank">http://lists.laptop.org/listinfo/http-crcsync</a><br>
&gt;<br>
&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>