[erlang-questions] Controlling TCP transmission buffer length.
Thu Mar 13 23:26:58 CET 2008
We are writing a TCP server where the protocol with an asymmetric amount of
traffic between client and server. More specifically:
- The server will acknowledge the client's requests, however the client is
not required to.
- The server may occasionally (even often) stream much data towards the
client. As stated before, this data does no need to be acknowledged.
- Responsiveness to client requests is important.
In short, I think the question could be summed up as: How would one go about
a TCP connection where
A. there is low latency (no timed sleeping), and
B. one can generally ensure that transmit traffic/messages do not back up
over a preset amount.
The message interface to sockets is very attractive, but the lack of option
to receive notification about blocking (or unblocking) makes it unusable for
the above purposes. Maybe someone has used a hybrid approach...?
Thanks in advance,
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions