[erlang-questions] Benchmarking Erlang: Deathmatch of gb_trees, dict, ets, mnesia ... and registered names

Ulf Wiger (TN/EAB) ulf.wiger@REDACTED
Thu Oct 9 13:24:16 CEST 2008


Joel Reymont skrev:
> 
> The absolutely bizarre and surprising discovery are the timings for  
> registered names. On a hunch, I thought I'd try to register a process  
> under its id. This way I could just send messages to that id from any  
> node in the cluster, without having to go through a separate  
> translation process.

The only thing to think about, perhaps, is that global doesn't
scale well when you add more nodes. If you have only one node,
it's very fast indeed.

See e.g. the benchmark figures given in my Gproc paper, pg 9:

http://svn.ulf.wiger.net/gproc/doc/erlang07-wiger.pdf

BR,
Ulf W




More information about the erlang-questions mailing list