[erlang-questions] gen_server concurrency

datacompboy datacompboy@REDACTED
Mon Nov 13 10:43:58 CET 2006


We lost concurrency, when use gen_server for store items in mnesia.
Is that good?

F.e., mnesia:write() can be run in parallel, if it will save data in several spread tables, but if we call gen_server:cast(logger, {log, Message}) we lost that case, and all writes will be run in sequence...

May be there otp-way to work really in parallel?
--
--- suicide proc near\n call death\n suicide endp
_________________________________________________________
Post sent from http://www.trapexit.org



More information about the erlang-questions mailing list