[erlang-questions] Alternatives to Erlang

Matthew Evans <>
Mon Feb 11 19:06:19 CET 2013


I would agree with this comment.
Maybe instead you should think about a process for each user, and each process having a gb_tree in the state record to save data.
If you want persistance you "could" use dets instead....
Matt

> Date: Mon, 11 Feb 2013 12:50:45 -0500
> From: 
> To: 
> CC: 
> Subject: Re: [erlang-questions] Alternatives to Erlang
> 
> I would first of all be more worried of having literally a million
> database tables if 100k users register than using as many atoms.
> 
> What drives your design in a way that forces you to have so many
> database tables in the first place?
> 
> Regards,
> Fred.
> 
> On 02/11, Maruthavanan Subbarayan wrote:
> > Hi,
> > I am on the way to creating an application which would create atoms dynamically.
> > These atoms are created because I have user registering into my system and each user has set of 10 mnesia tables to be created. Since atoms has a limitation I am afraid that if 100K users register into my system I may run of atoms for creating tables for more users.
> > Creating an ETS table with name will give me table identifier with integer. Does a similar thing exists for mnesia too?
> > How can I organize such a system?
> > Thanks,Marutha 		 	   		  
> 
> > _______________________________________________
> > erlang-questions mailing list
> > 
> > http://erlang.org/mailman/listinfo/erlang-questions
> 
> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130211/056fbaa6/attachment.html>


More information about the erlang-questions mailing list