Hi,
The BG Servlet output stream currently writes a new jcr:data node every
time flush is called. Would it be possible with the current repository
implementation to make that flush append to the end of a jcr:data node that
it creates 1 jcr:data for all the content.

IIUC the reason is to allow anything that is waiting for the output to get
updates on flush, but shouldn't this be a concern of the repository to
implement an output stream that can be appended to and once appended read
from by another process, rather than explicitly implementing a block
strategy in the application.

Imagine what it would be like if ext4 was exposed as 4k blocks in
FileInputStream.

Best Regards
Ian

Reply via email to