[erlang-questions] Alternatives to Erlang
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....
> Date: Mon, 11 Feb 2013 12:50:45 -0500
> 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?
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions