use nodejs and redis by socketio, build a chat application