[erlang-questions] how: mnesia: id/generator in a cluster

Zvi exta7@REDACTED
Fri Nov 9 15:44:54 CET 2007


Hi,

Can't GUID or make_ref/0 be used for this somehow?

make_ref() -> ref()

Returns an almost unique reference. 

The returned reference will reoccur after approximately 2^82 calls;
therefore it is unique enough for practical purposes. 

> make_ref().
#Ref<0.0.0.135>


-- 
View this message in context: http://www.nabble.com/how%3A-mnesia%3A-id-generator-in-a-cluster-tf4759227.html#a13668269
Sent from the Erlang Questions mailing list archive at Nabble.com.




More information about the erlang-questions mailing list