Better HN
topnewbestaskshowjobs
Log inSign up

d11wtq

8 karma · joined May 8, 2013 (13y ago) · 8 submissions

Submissions

1.

Show HN: Zero dependency cross-language background job queue server(github.com ↗)

4 points · by d11wtq · 1mo ago · discuss

2.

We built a job queue on an LSM tree. This is what we learnt(zizq.io ↗)

1 points · by d11wtq · 1mo ago · discuss

comment 3mo ago · link · parent

More info about job lifecycle and fault scenarios here https://zizq.io/docs/api/#job-lifecycle

comment 3mo ago · link · parent

Not sure why your comment was flagged and marked dead @helpmetest. Workers connect over a persistent streaming connection. Heartbeats are sent every 3s (configurable). If the server is not able to deliver the heartbeat (or any other message), the job is transitioned back from in_flight to ready for other workers to pick up. Workers also kill the connection if they have not received a message within a configurable timeframe. Jobs are not leased for a fixed window. They are considered in_flight for as long as the connection they were sent on is still active. The delivery guarantee is "at least once". Workers should be written in a way that makes them resilient to seeing the same job twice, as there is no way to be certain a worker did or did not process a job in the case of a disconnect if that job was not ack'd or nack'd.

comment 3mo ago · link · parent

Thank you.

6.

Show HN: Zizq is a fast, single-binary job queue that fits into any stack(zizq.io ↗)

2 points · by d11wtq · 3mo ago · 4 comments

comment 13y ago · link · parent

No, cygwin won't provide POSIX process features, you need to use something that is not Windows. As others say, use a VM. Unfortunately the hard truth with PHP (and many other languages) is that if you're trying to use Windows as a development environment, you're already starting off at a significant disadvantage. If Windows provided equivalent features in its process model, I'd use them, but AFAIK, it doesn't/can't.

comment 13y ago · link · parent

That is a fair concern to have, though I will be working on and maintaining Boris for the foreseeable future (already have a bunch of features planned, to make it more extensible).

As with Swift Mailer, which I maintained for many years, if the time comes for somebody else to take the project over, Boris will live on under a new maintainer. That's very unlikely in the next couple of years though. Plenty of activity via pull requests now.