W3C home > Mailing lists > Public > ietf-http-wg@w3.org > April to June 2004

Re: PATCH, gdiff, and random-access I/O

From: Alex Rousskov <rousskov@measurement-factory.com>
Date: Thu, 29 Apr 2004 21:41:38 -0600 (MDT)
To: Justin Chapweske <justin@chapweske.com>
Cc: Lisa Dusseault <lisa@osafoundation.org>, HTTP working group <ietf-http-wg@w3.org>
Message-ID: <Pine.BSF.4.58.0404292133370.79581@measurement-factory.com>

On Thu, 29 Apr 2004, Justin Chapweske wrote:

> One reasonable implementation might be to keep an I/O log of all of
> the operations that were performed on the resource.  Once the device
> is finished with its modifications, the PATCH method would be issued
> with a payload that is basically a replay of the local I/O log.

I would not call the above "random I/O" pattern because you are doing
a single fetch and a single patch operation as far as protocol is
concerned. The proposed PATCH method and even existing diff formats
seem to support the above use case reasonably well.

Can you think of any reason why PATCH with common diff formats cannot
support the above efficiently?

I was under impression that you are talking about supporting large
volume of micro updates (e.g., remove a single character in the middle
of a 100MB file) that must be committed in real time, one by one.
Doing so efficiently may require mechanisms different than proposed
PATCH.  However, your example seem to be within PATCH scope! Sorry if
I misunderstood the true meaning of the "random access I/O" term.


Received on Thursday, 29 April 2004 23:41:55 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:13:24 UTC