News for hackers. Stuff that matters.

d11wtq

Show HN: Zero dependency cross-language background job queue server

https://github.com/zizq-labs/zizq

I'm Chris, and this is Zizq, a centralised job queue with a heap of awesome features I won't list off here.https://github.com/zizq-labs/zizqIt gets through the queue fast under heavy throughput and requires no setup out of the box. The server is built in Rust as a single static binary, and it provides its own durable storage via an LSM tree storage engine (fjall), and aims to make searching and...

( Read More... | no comments | 3 points | on HN )
More info about job lifecycle and fault scenarios here https://zizq.io/docs/api/#job-lifecycle
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.
Thank you.

Show HN: Zizq is a fast, single-binary job queue that fits into any stack

https://zizq.io

I’ve been quietly working on this in my free time since around March and while there is still a lot to do, I’m feeling really happy with where things are at and how well it all works. Zizq is a single binary, zero-dependency job queue that sits in any stack and can enqueue and process jobs across programming language boundaries. It’s designed to be really easy to get up and running with, and...

( Read More... | 4 comments | on HN )
Re:Boris: A tiny but robust REPL for PHP on Wednesday May 08, 2013 @07:40AM (#5673581)
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.
Re:Boris: A tiny but robust REPL for PHP on Wednesday May 08, 2013 @06:01AM (#5673361)
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.