DNS is slow when run from many processes

Zvi zvi.avraham@REDACTED
Tue Feb 8 19:55:28 CET 2011

On Feb 8, 10:51 am, Ivan Ostres <iost...@REDACTED> wrote:
> You are doing DNS lookup for every port connect even though destination
> host does not change for whole PortCount. Did you consider doing DNS
> lookup before entering loop and cache the result? This would get you
> O(1) time for hostname lookup instead of O(n).

The destination host is load balancer.
I hope this make things more clear.

> BR,
> Ivan Ostres

More information about the erlang-questions mailing list