> Ok. That answers my earlier question. Stupid of me. Wouldn't it be better to
> use two buffers though? One to accept data from a client / other node, so that
> they don't have to wait around for everything to finish, and one to use for
> tunneling the data along the rest of the way?

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.

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

Reply via email to