jackrabbit-oak-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Julian Reschke <julian.resc...@gmx.de>
Subject Re: [MongoMK] Reading blobs incrementally
Date Wed, 26 Sep 2012 07:55:43 GMT
On 2012-09-26 09:38, Mete Atamel wrote:
> ...
> I could fix this by changing the test to read the blob bytes in one shot
> and then do the comparison. However, I was wondering if we should also
> work on an optimization for successive reads from the blob with
> incremental offsets? Maybe we could keep the input stream of recently read
> blobs around for some time before closing them?
> ...

One use case is streaming content from the repository to a web client; 
that usually involves a loop reading from the repo and writing to the 
ServletOutputStream. This will need to work even for large binaries.

Best regards, Julian

View raw message