Where to store the datas

4 views
Skip to first unread message

潇潇胡

unread,
Nov 19, 2008, 8:39:39 PM11/19/08
to mobicent...@googlegroups.com
Hi All !
 
I'm a learner to the mobicents,and met a problem about the resource management.
In my opinion,I think that there are three ways to store the data:
1.storing the data in some inner class of the sbb as its attributes.However,the data can't be shared by other sbbs.
2.using the mbean of jmx.Now I've another question here:whether the data managed here once stored as attributes of mbeans?
3.making use of profile.A record of profile is nearly the same as a record in the relational database.What's its searching and indexing methods,using hash table or anything else?Is it easily combined with databases?
Finally,I'm going to design a back to back user agent,there are some information which I want to store,such as call control statas and dialog ID.Which way may be recommended?
 
Best regards!
Sherry.
                                                                           11-20-2008

Amit Bhayani

unread,
Nov 20, 2008, 12:49:13 AM11/20/08
to mobicent...@googlegroups.com
Sherry,

I am not clear with your requirements
Since dialog ID is something temporary you can store it in CMP of SBB. I don't think you would be needing the dialog ID once the communication is over.

Control Stats is some kind of statistics? If yes I recommend you to use the UsageParameter of SBB.

JMX is not right approach to store your data for sure.

If you have data something like Profiles I would recommend use the database and use JPA for accessing the data from SBB. Look at converged-demo from media-server for better understanding of this

2008/11/20 潇潇胡 <war...@gmail.com>

潇潇胡

unread,
Nov 20, 2008, 3:23:03 AM11/20/08
to mobicent...@googlegroups.com
Dear Amit,
 
         Thank you very much for your suggestion,and I will try the Usage parameter at  first.
 
Regards,
Sherry
                                                     11-20-2008

Eduardo Martins

unread,
Nov 20, 2008, 4:17:14 AM11/20/08
to mobicent...@googlegroups.com
If this data needs to be persisted, for further analysis, then go for JPA using the default datasource in the JBoss AS. The sbb usage parameters are good for runtime counter or sample based stats, which are reset when the the sbb is deployed (this includes server start).

-- Eduardo
Reply all
Reply to author
Forward
0 new messages