Presently I am working with a site, in which our team needs to implement chat(1-1 or 1-many or many to many) application.
To implementing this, we are using DB to store the chat messages.
Is there any other method to store these chat messages?
Thank You,
Siri
PHP Chat
Moderator: General Moderators
Server slowdown is the nature of the beast. Unless you've got thousands of users chatting at once though, you shouldn't have that big of a problem. I assume you're using AJAX to query the server every 2 seconds or so to get the updates?
A database is by far the best way to store data. There's less file handling overhead, and it's much easier to send to the user only the chat messages they need.
A database is by far the best way to store data. There's less file handling overhead, and it's much easier to send to the user only the chat messages they need.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.