polling and socket.IO