Erlang performance in a container?
Gerhard Lazu
gerhard@REDACTED
Tue Mar 31 10:48:24 CEST 2020
Hi,
Does Erlang has the same performance inside a container?
>
Yes, but only if you respect
https://adoptingerlang.org/docs/production/kubernetes/#container-resources
& don't use the default bridge network.
> Do I need to change some settings?
> My main use case is sending and receiving many UDP packets and doing AES
> encryption.
> I'm currently using a VM and wonder if I should expect the same
> performance on Kubernetes.
>
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.
2. Configure the container to use the host network.
Hope this helps, Gerhard.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20200331/e4872805/attachment.htm>
More information about the erlang-questions
mailing list