tornadoweb / tornadoweb/tornado
Tornado server side timeout
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 22.2k
- Forks
- 5.6k
- Avg merge
- 3h 42m
- Merged PRs (30d)
- 16
Description
Hello!
I am looking for a way to gracefully support timeout on tornado side, when request handler takes to long. I could not find it - and afaik it's not trivial or easily doable due to nature of IOloop and non-blocking.
However someone has to find a way to do it since no one wants to have some to long hanging clients :)
I ma using tornado 4.5.x
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing Tornado 4.5.x request-handler behavior and the IOLoop constraints described in the issue. Determine how a handler timeout could be supported without disrupting non-blocking I/O, then define and test the expected behavior for clients whose requests exceed the timeout.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100