Chris wrote:
I'm creating a chat room in rails.
I was wondering what people think is the simplest technique to achieve it? What success/experience have other people had? Any optimisation techniques would be useful to know.
Are you talking about a real-time chat room like Campfire? I think that basically works by using some Javascript to poll the server every few seconds to see if there are any new messages. I also vaguely remember something about them writing a special lightweight handler on the server side to respond to these messages without too much Rails overhead.
Chris