Hi,
I am developing a live chat application based on symfony2.
In order to keep track of previous conversations and to do some statistics, i would like to save in db (mysql currently) some informations, like session id, messages sent, chat duration and so on... on connection close.
Then, onOpen, I'd like to check if previous chat for the user exists, and display the messages.
I would like to know to your opinion what is the best way to save informations in database ? I read that mysql could block the connection. There is a better way to do that ?