Re: holding connections open: a modest proposal

Darren New (dnew@sgf.fv.com)
Sun, 18 Sep 1994 16:28:33 -0400 (EDT)


> There is another way. Some who code this other way have
> become fiends about it. Whether the "file" is the output of a program
> or not, the server could be coded as a pipeline. Not everyone wants
> to suck the whole thing into memory.

No. But not everyone wants to break it up, either.
By making the length bytes too short, you're preventing people from using
long lengths. By making the length bytes long enough, I'm not preventing
you from using short lengths.

> Not all OS's have file-to-memory mapping. Even when it's
> available it might not always give you the win you're after. If it's
> there, and you want to use it, and the situation allows it, great!

But the suggestion that everything be broken into 64K blocks prevents
that from working.

> But when suggesting protocol changes, consider that not everyone is
> going to use the same methods.

Nothing I suggested would prevent you from using any methods you
suggested. Your suggestions, however, would prevent me from using the
methods I suggested. That's all I'm saying. Just because you have a
4-byte length field doesn't mean you have to fill it up.

'Nuff said. This is getting way too silly, and I'm pretty sure I've taken
it to private email several times, only to have the replies resurface here.
Coulda been someone else, tho.