Skip to content

Comment on Background job queues and priorities may be the wrong pathparent

Comments

What do you mean by a long polling state machine? Is it just a state machine that gets fed via long polling http requests?

No, he means a run loop which polls for events, often by using poll() or select(), but it could also just be sleep() and then a SELECT statement.

Then it contains logic to handle events.

Ah thanks. Didn't hear 'long polling' in that context yet.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.