Best way to store chat messages and files

Posted by Stnaire on Stack Overflow See other posts from Stack Overflow or by Stnaire
Published on 2012-11-05T10:59:08Z Indexed on 2012/11/05 10:59 UTC
Read the original article Hit count: 223

Filed under:
|
|
|
|

I would like to know what do you think about storing chat messages in a database?

I need to be able to bind other stuff to them (like files, or contacts) and using a database is the best way I see for now.

The same question comes for files, because they can be bound to chat messages, I have to store them in the database too..

With thousands of messages and files I wonder about performance drops and database size.

What do you think considering I'm using PHP with MySQL/Doctrine?

© Stack Overflow or respective owner

Related posts about php

Related posts about doctrine