Architecture :: How To Save A Large Data Of Chat Room In Chat Application
Nov 3, 2010
I'm developing chat application on asp.net mvc, in my app, user can create room and invite other join to chat, but don't need to save chat room information.So, I designed to save all chat message ,room information and user info in Session and clear it when owner close the room.I'm worry about stressing server when I save alot of data (include room info, user info, and message) in Session if there are up to 5000 rooms created and alot of messages transfered in that room.Is my solution good enough ? is it ok to save in Session ?
View 3 Replies
Similar Messages:
Nov 4, 2010
My application is MVC Web App Chat Room , it supports following features:1.Create/Join/Close room 2.Send message in room (just live message, offline message might be supported in future)I have done logic for application, but I'm considering where to save chat room data (message,room information, and users in room) ? I see there are 2 options:1. Application variable2. Using file or database-What if I saved in Application variable:In case of there are 2000 rooms and 10000 users online, mean I have to persistence in Application variable (actually in RAM memory) information of 2000 rooms, more than 10000 message (text), these numbers might be increased by second if there are more users online in real time. and what's next ? I don't know what will happen to server, crash ? or my web app will be terminated ? whatever I don't want both results !
-What if I saved in file or DB (i.e: SQL Server DB) Because of web application, clients have to send request every 1 second to fetch data (messages and user list in room). So in case of there are 2000 rooms and 10000 users online, means they will make 10000 requests every 1 second to DB. I don't know what will happen to DB, there are a lot of connections and in EVERY 1 second, can DB still be alive to serve request ?I don't know where saving is good now because both seem are bad solution
View 2 Replies
Nov 4, 2010
My application is Web App Chat Room , it supports following features:
1.Create/Join/Close room
2.Send message in room (just live message, offline message might be supported in future)
I have done logic for application, but I'm considering where to save chat room data (message,room information, and users in room) ? I see there are 2 options:
1. Application variable
2. Using file or database
-What if I saved in Application variable: In case of there are 2000 rooms and 10000 users online, mean I have to persistence in Application variable (actually in RAM memory) information of 2000 rooms, more than 10000 message (text), these numbers might be increased by second if there are more users online in real time. and what's next ? I don't know what will happen to server, crash ? or my web app will be terminated ? whatever I don't want both results!
-What if I saved in file or DB (i.e: SQL Server DB) Because of web application, clients have to send request every 1 second to fetch data (messages and user list in room). So in case of there are 2000 rooms and 10000 users online, means they will make 10000 requests every 1 second to DB. I don't know what will happen to DB, there are a lot of connections and in EVERY 1 second, can DB still be alive to serve request ?
I don't know where saving is good now because both seem are bad solution :(. What is your opinion ?
View 1 Replies
May 7, 2015
I had create an application to allow user to register new project.Manager will chat with user base on the project ID(chat room id = Project ID) and store this conversation to database.
Example: User A register project A, other user cannot join the chat room A.
View 1 Replies
Sep 5, 2012
I want to develope web based chat application for an organization
My requirements are,
1. Group chat
2. Private chat
3. All chat information will save in sql server
4. if user minimize the browser,it will blink like gtalk and face book
View 1 Replies
Apr 19, 2010
I have done some research on creating a chat room for my website. i found one on the following site: [URL] But it is in C#, i tried converting it to VB version but it gives me different errors. I dont know much about it.
View 9 Replies
Jun 2, 2010
Just looking for recommendations, we have a need to supply a chat-room for our customers. It will be small-mid scale usage, has anyone purchased any products recently that they recommend? Open to bundled, open-source, or SaaS implementations.
View 2 Replies
Feb 22, 2011
i want to build aroom chat in my web VB code
View 1 Replies
Mar 26, 2011
i am working on asp.net .i want to make a chat room which should be attach like facebook .can any tell me do's and dont's
wht is it called
how can i start ?
designing part ?
View 1 Replies
Jan 25, 2010
as all we know that we can create very simple chat using ajax timer & web service , it runs well for few users .
i want to leaverage same idea for site where 5000+ users will be there in chat room , messages are stored in queue hold in memory * dispatched as user request that is through java script timers calling page method or service ,
how well it will perform ? i know GTalk implements XMPP protocol(jabber) for the web chat
seems it will be difficult to got XMPP way ?
View 1 Replies
Nov 22, 2010
I want to add chat to my web application. some readily available modules or add ons? The chat function will be one to one such as Facebook.
View 3 Replies
Feb 12, 2010
i am developing chat application using vb.net and asp.net where i am having a div tag inside which i am displaying the messages posted by the online users what my problem is when the messages are more and exceeds the height of the div tag then i am not comfortable to view the previous messages because i have set the scroll bar position to always to be pointed to bottom.
[code]....
View 1 Replies
Feb 22, 2010
I have a requirement for building an instant messenger application for the selected user.
I have googled for the solution but without any sucess.My requirement is once a user initiates a chat with another user,the another user needs to get a popup of the chat window,where the two users can start chatting.
View 4 Replies
Jan 29, 2010
How can I develop a chat application using asp.net or How to integrate any chat api with asp.net application.
View 5 Replies
Dec 27, 2010
I need to implement a chat application in my asp.net C# used Web Application. I am looking a 1 to 1 chat . Here i am users and i need to chat those users with other ones.
View 2 Replies
Apr 13, 2010
I am creating a chatting application, where I want to show typing notifications in private chat.i.e If two users are chatting, when the user is typing message I want to show in chat window of other user that "userName is typing" in the status bar
View 3 Replies
Mar 11, 2010
I am developing an application in asp.net mvc where i need to have Chat application intergrated in the web page. The chat application should be able to support group chat, private chat, simple file transfer and user should be able to create their own rooms. where i can buy a simple chat application with above functionalities. I need it immediately.or how to create my own application. The technology to use or just any idea to start, buying asp.net chat application with above functionalities is the best option.and most important i should be able to integrate chat application in my existing MVC project. We are using ASP.NET MVC, Microsoft SQL Server 2005, Linq To Sql as database interaction tech and C#.
View 1 Replies
Mar 20, 2013
I have written below the requirement of my client
"We should also have an option under the contacts tab, for a chat option .The idea behind it is that if a user is looking to communicate with a staff person they should be able to open a chat session and start a typing their questions and/or concerns. While building the chat option, the chats should be logged for certain period of time and there should be an option of retrieving particular chat sessions as needed."
What is the best way to implement this ? I prefer jquery plugin for implementing the above task () ? I am using asp.net 2.0.Is there any need to update to 3.5 to achieve the above task ?
View 1 Replies
Apr 7, 2010
I found the tutorial below to build a chat application for asp.net which fulfilled most of my requirements, i.e. written in vb and made use of database, however the second part is missing. [URL]
I was hoping someone may be able to point me in the direction the original author intended to extend this to cover multi rooms and hopefully multi users?
View 1 Replies
Oct 3, 2010
I want to create small chat application between two users.
Users should Login if they are not logged in they should be registered.
View 3 Replies
Oct 27, 2010
how can i add chat application like facebook in my social networking site?
i need to add chat application in my project just like facebook chat
how can i create in asp.net?
View 24 Replies
May 4, 2010
So I am trying to create and application that combines a website to a chat program.
Essentially what I want is this
Users to be able to go to the website and look at data
if they want to add data they can do that on the website
based on this data, a message pops up on the appropriate agents PC
the agent can then forward the request or accept the request and type in a message/data in that same pop up window and send it to the website which would update the website.
I have too many options to choose from and I am very confused.I believe for the agent side(chat) WCF would be good, but not sure about the website side.Should i use dynamic data webpage orwcf data services?
View 2 Replies
Jun 21, 2010
I have to implement the Live chat - support type in my asp.net web application
I m working framework 3.5
How can i do this.
View 1 Replies
Mar 21, 2011
i need to built chat application using asp.net3.5,sqlserver2005,ajax..
where to get easy source or idea to develope from the scratch...
View 4 Replies
May 29, 2012
I need full code for client and server to transfer files. gone through net but didn't get through.
View 1 Replies