class UpdateHandler(tornado.websocket.WebSocketHandler):

    def open(self):
        self.write_message('Hi client')
for message in function_that_generates_events():
    self.write(message)
How to show continuous real time updates like facebook ticker, meetup.com home page does?