<html><head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"></head>
<body>
<div>
<div style="FONT-SIZE:11pt;FONT-FAMILY:Calibri,sans-serif"><br><br>Thanks !!</div></div>
<div dir="ltr">
<hr>
<span style="FONT-SIZE:11pt;FONT-FAMILY:Calibri,sans-serif;FONT-WEIGHT:bold">From: </span><span style="FONT-SIZE:11pt;FONT-FAMILY:Calibri,sans-serif"><a href="mailto:ulf@feuerlabs.com">Ulf Wiger</a></span><br><span style="FONT-SIZE:11pt;FONT-FAMILY:Calibri,sans-serif;FONT-WEIGHT:bold">Sent: </span><span style="FONT-SIZE:11pt;FONT-FAMILY:Calibri,sans-serif">24/01/2015 14:00</span><br><span style="FONT-SIZE:11pt;FONT-FAMILY:Calibri,sans-serif;FONT-WEIGHT:bold">To: </span><span style="FONT-SIZE:11pt;FONT-FAMILY:Calibri,sans-serif"><a href="mailto:nayibor@gmail.com">Nuku Ameyibor</a></span><br><span style="FONT-SIZE:11pt;FONT-FAMILY:Calibri,sans-serif;FONT-WEIGHT:bold">Cc: </span><span style="FONT-SIZE:11pt;FONT-FAMILY:Calibri,sans-serif"><a href="mailto:erlang-questions@erlang.org">erlang questions</a></span><br><span style="FONT-SIZE:11pt;FONT-FAMILY:Calibri,sans-serif;FONT-WEIGHT:bold">Subject: </span><span style="FONT-SIZE:11pt;FONT-FAMILY:Calibri,sans-serif">Re: [erlang-questions] unregistering a process during takeover</span><br><br></div></body></html><html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap:break-word" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 24 Jan 2015, at 13:56, Nuku Ameyibor <<a href="mailto:nayibor@gmail.com" class="">nayibor@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div style="font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:13px" class=""> but how do errors during restarts affect the distribution mechanism .</div><div style="font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:13px" class=""> for instance how do global name clashes affect the distribution mechanism .</div></div></blockquote><br class=""></div><div>When you start applications from the shell using application:start(App), the default restart type is ‘temprorary’, which means that if the application start fails, only the application is terminated. If the application is started with application:start(App, permanent), the whole node is terminated if the application crashes.</div><div><br class=""></div><div>The application start, in its turn, fails if the processes started synchonously from the start function fail during startup. The global name registration usually happens during application startup.</div><div><br class=""></div><div>Applications started from a boot script are automatically started as ‘permanent’.</div><div><br class=""></div><div>BR,</div><div>Ulf W</div><br class=""><div class="">
<span class="Apple-style-span" style="border-collapse:separate;color:rgb(0,0,0);font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div class=""><div class="">Ulf Wiger, Co-founder & Developer Advocate, Feuerlabs Inc.</div><div class=""><a href="http://feuerlabs.com" class="">http://feuerlabs.com</a></div></div><div class=""><br class=""></div></span><br class="Apple-interchange-newline">
</div>
<br class=""></body></html>