Long Polling
Registered by
Kevin Fox
When atempting to claim when there is nothing more to clame, there needs to be a way to have the call block for a little while waiting for new entries to come in. Otherwise, either too much load will be put on the server by clients quickly retrying, or clients just have to be slow to react to new messages.
Blueprint information
- Status:
- Not started
- Approver:
- Feilong Wang
- Priority:
- High
- Drafter:
- Feilong Wang
- Direction:
- Needs approval
- Assignee:
- Feilong Wang
- Definition:
- New
- Series goal:
- Accepted for queens
- Implementation:
- Unknown
- Milestone target:
- queens-3
- Started by
- Completed by
Related branches
Related bugs
Sprints
Whiteboard
We could have a (configurable) period, say 30 seconds. That would improve latency while keeping the number of concurrent connections to a minimum.
Though we have websocket now, this feature for http transport is still valid and good to have. --flwang
(?)