[erlang-questions] Latency when using the active_once option in gen_tcp communication is reduced in R15B02. What is the details?

Lukas Larsson lukas@REDACTED
Thu Mar 28 09:21:37 CET 2013


The code change is this:
https://github.com/erlang/otp/commit/689ba6e5657867eb3efbcb9a2dbec4aa98ddac5d

Essentially it does a read to check if there is any data available right
away and if there is none does a driver_select. Before the change it always
went directly to driver_select.

Lukas


On Thu, Mar 28, 2013 at 8:43 AM, skyman <cloudzen@REDACTED> wrote:

> Hi everybody,
> I find this in the R15B02 readme(
> http://www.erlang.org/download/otp_src_R15B02.readme):
>
> OTP-10055  Latency when using the active_once option in gen_tcp
>
> 	            communication is reduced.
>
> I'd know the details about this, can the man in the OTP team or other man explain this? Thanks.
>
>
>
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130328/e97f7e0b/attachment.htm>


More information about the erlang-questions mailing list