> That is a sensible suggestion, since we are caching the data locally
> anyway there is really no reason not to buffer the entire file locally
> to make the DAtaInsert complete as quickly as possible.  The question is
> - what is the best way to achieve this (it will involve writing-to and
> reading-from the same file at the same time, might this be an issue on
> some platforms?).
> 
> Ian.
Never tried that. But why not just stream to the other node and write to the
data store at the same time (like now, I assume). Then after the client was
done writing, close the file in the store, reopen it, and seek to where you
left off streaming the file. That should work with no problems, unless i'm
totally missing something.

-Adam Lydick

-- 
Freenet -- Re-Wiring the Internet
http://freenet.sourceforge.net
My Node: tcp/rivendell.yi.org:19114

_______________________________________________
Freenet-dev mailing list
Freenet-dev at lists.sourceforge.net
http://lists.sourceforge.net/mailman/listinfo/freenet-dev

Reply via email to