<div dir="ltr">And, if your team feels so desperate to code in Erlang, because of its weird syntax, <div>you can use Elixir to utilise ALL of Erlang's power in a more friendly and easy-to-understand syntax</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Pada tanggal Sel, 5 Nov 2019 pukul 11.59 I Gusti Ngurah Oka Prinarjaya <<a href="mailto:okaprinarjaya@gmail.com">okaprinarjaya@gmail.com</a>> menulis:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">I recommended you to use Erlang.<div><br><div>Erlang can save you from nowadays complex microservice architecture. If you not use Erlang, it will become so so so fckn complex architecture, too many external tools to wired and manage.</div><div>Erlang is all in one toolbox. </div><div>You need Redis? Erlang have ETS and or Mnesia, </div><div>You need Consul (services discovery) in order all of your micro-services able to communicate to each other? Oh come on.. Erlang is distributed by default. you can use <font face="monospace" style="background-color:rgb(208,224,227)">rpc:call() </font>or <span style="background-color:rgb(207,226,243)"><font face="monospace">spawn()</font></span> process in other server, or send message <font face="monospace" style="background-color:rgb(207,226,243)">RemoteNodePid ! {Your, Message} </font></div><div><br></div><div>ALL tools nowadays are mimicking Erlang's features</div><div><br></div><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Pada tanggal Sen, 4 Nov 2019 pukul 19.10 Marthin Laubscher <<a href="mailto:marthin@lobeshare.co.za" target="_blank">marthin@lobeshare.co.za</a>> menulis:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div lang="EN-US"><div><p class="MsoNormal"><span style="font-size:11pt">Hi everyone,<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11pt">Please pardon my long absences from this awesome (mature) community and my limited knowledge which is likely outdated as well. I’ve known since 1996 when I was first told (in confidence by an Ericsson Radio Systems liaison) about Erlang that it would have to play a role when I eventually get to implementing the system I’ve been working on designing since 1991. That big day is drawing near, so now I’d like to reaffirm my high level understanding of what the language is suited for.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11pt">I reckon the problem I’m looking to address is intrinsically concurrent and if I can design the solution just right I just might be able to avoid introducing sequential code and choke points to create an dynamic (learning, responsive to conditions) distributed server capable of using all or most of its resources for any mixture of trivial, simple, complex and massive service requests whether it’s coming from a few clients or billions of them. Essentially as illustrated in the diagram below:<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11pt"><img width="724" height="332" style="width: 7.5416in; height: 3.4583in;" id="gmail-m_529671282157373380gmail-m_-8648719942951665207Picture_x0020_1" src="cid:16e39dee43d5b16b21"></span><span style="font-size:11pt"><u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11pt">I’d like to ask your advice and check some assumptions if I may impose.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt"><u></u> <u></u></span></p><ol style="margin-top:0cm" start="1" type="1"><li style="margin-left:0cm"><span style="font-size:11pt">Is my conviction that Erlang (and OTP) is ideally if not best suited to addressing this type of problem objectively justified or likely based on loyalty and familiarity?<u></u><u></u></span></li><li style="margin-left:0cm"><span style="font-size:11pt">Is my aspiration to scale the same code from one server to potentially hundreds of thousands of cores spread across the globe hopelessly romantic or somewhere within the realm of possibility?<u></u><u></u></span></li><li style="margin-left:0cm"><span style="font-size:11pt">Assuming the network remains HTTP/HTTPS based, would Erlang’s inets module allow the code accepting new requests to interact with and control load balancing hardware to ensure each such request is served on the best available server, or will I need custom load balancers of my own for that?<u></u><u></u></span></li><li style="margin-left:0cm"><span style="font-size:11pt">Still assuming HTTP/HTTPS will inets allow me to break up request processing across multiple processes and threads based on incremental scanning of the requests themselves?<u></u><u></u></span></li><li style="margin-left:0cm"><span style="font-size:11pt">Are there lessons from previous (or current) successes and/or failures to achieve similar results to learn from available in the public domain like maybe from ejabberd or Yaws? (I’m not attempting to reinvent any wheels or address a general purpose need like Yaws et al. Internet and web protocols may be involved but I have a singular focus on delivering user-specific perspectives of a single large dataset to a custom client app.) <u></u><u></u></span></li></ol><p class="MsoNormal"><span style="font-size:11pt"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11pt">Given my two additional objectives of eventually:-<u></u><u></u></span></p><ol style="margin-top:0cm" start="1" type="a"><li style="margin-left:0cm"><span style="font-size:11pt">ending up with a boringly simple system which elegantly encapsulates all these complex requirements, and<u></u><u></u></span></li><li style="margin-left:0cm"><span style="font-size:11pt">open-sourcing the entire system once it’s beyond reach of those with nefarious intentions,<u></u><u></u></span></li></ol><p class="MsoNormal"><span style="font-size:11pt">would anybody like to get involved in helping design and implement this project or even take the lead on it?<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11pt">Thank you in advance for your kind consideration.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11pt">Warm regards,<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11pt">Marthin Laubscher<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11pt"><u></u> <u></u></span></p></div></div>
</blockquote></div>
</blockquote></div>