[erlang-patches] sendfile()

Steve Vinoski <>
Mon Feb 21 19:39:06 CET 2011


On Mon, Feb 21, 2011 at 1:07 PM, Tuncer Ayaz <> wrote:
> On Mon, Feb 21, 2011 at 1:03 PM, Simon Liu wrote:
>>
>> hi , why not use TCP_CORK(in linux) or TCP_PUSH(in bsd)?
>
> I'd like to get the current patch working and integrated first.
>
> Once that is done we can still approach this and see whether we'd like
> to expose TCP_CORK/TCP_NOPUSH/TransmitFile's TransmitBuffers param or
> hide it all and extend file:sendfile with Header/Tail parameters.

I agree with Tuncer: first make it work, then make it fast. There's
still general integration and testing work to be done to get sendfile
into an actual release, after which platform-specific features like
those Tuncer mentions above will be easier to experiment with and
evaluate.

--steve


More information about the erlang-patches mailing list