<div dir="ltr"><div dir="ltr">Hi,</div><br><div class="gmail_quote"><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"><div>Does Erlang has the same performance inside a container?<br></div></div></blockquote><div><br></div><div>Yes, but only if you respect <a href="https://adoptingerlang.org/docs/production/kubernetes/#container-resources">https://adoptingerlang.org/docs/production/kubernetes/#container-resources</a> & don't use the default bridge network.</div><div> </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"><div></div><div>Do I need to change some settings?<br></div><div>My main use case is sending and receiving many UDP packets and doing AES encryption.</div><div>I'm currently using a VM and wonder if I should expect the same performance on Kubernetes.</div></div></blockquote><div><br></div><div>1. Allocate dedicated CPUs to the Erlang VM running inside the container. Match the number of Erlang VM schedulers to the number of dedicated CPUs allocated to the container.</div><div>2. Configure the container to use the host network.<br></div><div> </div><div>Hope this helps, Gerhard.</div></div></div>