i've two small question:
- What is the difference between EventDriven model and Thread model in handling open connections?
- How many seconds takes an IOLoop before closing the connection?
i've two small question:
Event driven means a client has requested information and the server will initiate a request. The request is the event. A thread is a process that runs outside the IO thread (ie main thread).
Depends. http://www.tornadoweb.org/documentation/httpserver.html?highlight=keep%20alive#http-server search for "no_keep_alive"
If your asking for how long the browser will sit waiting for the request to finish then I believe indefinitely. So it keeps open until you finish the response. However, I think some browsers may quit on the request and respond with a timeout... but I'm not certain. I just did a test and the browser was still waiting for a finish after 4 minutes and counting.