ASP.net CHAT SYSTEm for 10 people max but can have 1000 chat room going at the...

lanreodedeyi

New member
...same time? I am current;y i the process of developing a chat system using asp.net but i have a question, should i use a database to store all information needed for the chat seesion or use an xml file to store the messages sent and also to retrieve them.

which is better and why?
 
Hello,

I would not suggest using either; it sounds to me that you are using a form of pooling. It's not efficient to continuously hammer a database for new lines in the chat application. Personally, I would use the tcp objects to stream data from a server to each client.

If this isn't an option then go ahead and choose the database.
 
Back
Top