<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi Ulf,<br>
Here you are saying that there will be separate con_loop for
1:1 node connection, is it means that how many client nodes are
connected to server node those many instances of con_loop will run
in server.<br>
<br>
Example :<br>
server@HOSTIP and multiple clients client1@HOSTIP,
client2@HOSTIP ... ClientN@HOSTIP all are in cluster and all
client nodes are connected to server, now in server to connect <br>
server@HOSTIP to client1@HOSTIP - 1st
con_loop<br>
server@HOSTIP to client2@HOSTIP - 2nd con_loop<br>
server@HOSTIP to clientN@HOSTIP - nth con_loop<br>
multiple con_loops will run in server for connecting to each
client node.<br>
<br>
Thanks & Regards,<br>
Anand Rao L<br>
<br>
On Tuesday 06 June 2017 09:40 PM, Ulf Wiger wrote:<br>
</div>
<blockquote
cite="mid:CADPRLo9D8ZiN9tcwyy1jgA8vTb3er_bLvJVhw+kB+VEJxwf4xA@mail.gmail.com"
type="cite">
<div dir="ltr">The tick message is received in
dist_util:con_loop/2:
<div><br>
</div>
<div><a moz-do-not-send="true"
href="https://github.com/erlang/otp/blob/master/lib/kernel/src/dist_util.erl#L486">https://github.com/erlang/otp/blob/master/lib/kernel/src/dist_util.erl#L486</a><br>
</div>
<div><br>
</div>
<div>There is a con_loop for each 1:1 node connection, and the
tick state simply keeps track of the number of tick intervals
for which no data has been received on the connection (note
that at least ticks should have been received.)</div>
<div><br>
</div>
<div>Based on experience, with such a short ticktime, you might
want to pay attention to the +zdbbl setting for erl
(dist_buf_busy_limit). If it is set too low, there is a risk
that the ticker process is suspended and the connection times
out. I believe this is less of a problem than it used to be,
when the distribution buffer busy limit was much lower (and
not configurable.)</div>
<div><br>
</div>
<div>BR,</div>
<div>Ulf W</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">2017-06-06 7:15 GMT+01:00 lankeanandrao
<span dir="ltr"><<a moz-do-not-send="true"
href="mailto:lankeanandrao@utl.in" target="_blank">lankeanandrao@utl.in</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
<br>
I am running my application in a distributed way, with
one server node and multiple client nodes and all nodes are
started in visible mode. Here I want to know when all the
client nodes are connected to the server node, the client
nodes will send the tick message to server node and as same
as the server will send tick message to all client nodes,
here all the client nodes send tick response to the server
node. So here my question is<br>
<br>
1. Where the tick response came from multiple client
nodes is getting stored?<br>
<br>
2. If it is getting stored in kernel buffer, what is the
buffer size and how to find that?<br>
<br>
3. How the tick response's of multiple nodes is getting
served by the Erlang kernel?<br>
<br>
Note: The net tick time is set to 5 Second in all the nodes.<br>
<br>
Thanks & Regards,<br>
Anand Rao L<br>
______________________________<wbr>_________________<br>
erlang-questions mailing list<br>
<a moz-do-not-send="true"
href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br>
<a moz-do-not-send="true"
href="http://erlang.org/mailman/listinfo/erlang-questions"
rel="noreferrer" target="_blank">http://erlang.org/mailman/list<wbr>info/erlang-questions</a><br>
</blockquote>
</div>
<br>
</div>
</blockquote>
<p><br>
</p>
</body>
</html>