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

14 views
Skip to first unread message

skyman

unread,
Mar 28, 2013, 3:43:16 AM3/28/13
to erlang-q...@erlang.org
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.


Lukas Larsson

unread,
Mar 28, 2013, 4:21:37 AM3/28/13
to skyman, Erlang Questions
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


_______________________________________________
erlang-questions mailing list
erlang-q...@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions


Reply all
Reply to author
Forward
0 new messages