[erlang-questions] Noob gen_server questions

Christian S chsu79@REDACTED
Sat Jul 12 14:28:25 CEST 2008


> accomplished? I presume the gen_server:reply() cannot be used from a
> different process.

You can use gen_server:reply() from a different process.

Simple load-balancing can be done by having handle_call return
no_reply, and have it cast requests on to workers that ultimately call
gen_server:reply on the From value passed on to them.



More information about the erlang-questions mailing list