[erlang-questions] pipe messages sent between different nodes to boost speed

Roberto Ostinelli roberto@REDACTED
Wed Jun 10 01:27:07 CEST 2009


are you suggesting that every node should have an equivalent number of qr
depending on the number of nodes it is talking to?

r.


2009/6/9 Per Melin <per.melin@REDACTED>

>
> We've had something vaguely similar in production for a year, where
> there are peaks of 100K messages per second between nodes.
>
> One thing you need to watch out for is that sending a message to
> another node can sometimes take a long time. I did a test where I on
> purpose ran a server out of memory and CPU until the swapping made it
> more or less unresponsive. I can't remember exactly how long time it
> took to send (or fail to send) a message to a node on that server from
> another machine, I just remember that it hurt. It may even have been
> seconds.
>
> If that happens, and you have a single 'qr' per node, one failing node
> can slow down all your traffic. Unless you only have two nodes of
> course. One 'qr' per node per node (if that makes any sense) should
> protect you from that problem.
>


More information about the erlang-questions mailing list