<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Historically no.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">At present, we can limit processes and their memory usage.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">In extension of the excellent response by Fred, this is yet another reason as to why you might want to split your system. If parts of the system proves to be unreliable, or expected to be so, then isolate them.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">On the other hand, Erlang systems are usually good at fair scheduling among processes, so if you can manage the memory pressure of the VM, it might be enough. </div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, Aug 31, 2018 at 4:23 PM books <<a href="mailto:denc716@gmail.com">denc716@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Wed, Aug 29, 2018 at 10:50 AM Code Wiget <<a href="mailto:codewiget95@gmail.com" target="_blank">codewiget95@gmail.com</a>> wrote:<br>
><br>
> Hi everyone,<br>
><br>
> With many programming languages, it is easy to think of ways to separate projects into distinct micro services. With Erlang, I'm having trouble deciding on how to spread out functionality. Because the Erlang VM can run multiple different fully independent applications, it seems tedious to spin up 5 different Erlang VM’s to do different things when it could all be accomplished on one.<br>
<br>
I wonder in Erlang terms of 'application', if running multiple<br>
applications in one single Erlang VM, are there any ways to<br>
configure resource restrictions to each application, at OTP<br>
Supervisor tree level ? like how much memory can it use at most,<br>
and CPU, network, ... etc<br>
_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" rel="noreferrer" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">J.</div>