[erlang-questions] Re: Need parallel calls to gen_server:call, similar but different to gen_server:multi_call

Mihai Balea mihai@REDACTED
Thu Oct 1 03:23:26 CEST 2009

On Sep 30, 2009, at 7:33 PM, Steve Davis wrote:

> ...and the following is not appropriate to your needs?
> Responses = [gen_server:call(Pid,Request) || Pid <- PidList]

That would serialize the calls to the gen_server processes, not taking  
advantage of the parallel nature of erlang
How about using rpc:pmap or rpc:parallel_eval?


More information about the erlang-questions mailing list