I am developping a little chat application with rails. On my chat page I
make ajax request every 10 seconds to check if there are news messages.
I think if I keep this thing with a lot of user my performance will get
How can I improve this? Is is possible to observe when a row is added?
Or how can I effeciently cache the messages?