mpconlen
Re:Show HN: Martinet – Distributed Task Queue for Node.js
on Monday August 18, 2014 @06:38PM (#8195097)
You are right about the push/pull pattern, in the case the publisher crashes those jobs will be lost. That could be an issue depending on the use case and would be a great thing to address.
If I am understanding the other notes correctly:
Neither the worker nor publisher should ever really block (even in cases where M>N, N>M, publisher crashed, etc), mostly due to the async zmq bindings for node. If there are a ton of messages being sent to a single worker this worker will pull down messages as fast as it can and the rest will still be in publisher queue.
If a worker crashes this is happening separate from the publisher and won't affect the queue stored in the publisher's memory
Re:Show HN: Martinet – Distributed Task Queue for Node.js
on Monday August 18, 2014 @06:17PM (#8195023)
I guess this should be clarified more in the README - this uses zmq (and potentially other brokers) as the queue, and uses the database for tracking results, saving recurring tasks, etc
Show HN: Martinet – Distributed Task Queue for Node.js
Haus: Pay and split apartment bills with roommates
iOS7 – Why Is Everyone Suddenly A Design Critic?
Re:Tools For Protecting Your Privacy Online
on Monday June 10, 2013 @09:14AM (#5854078)
These are both very good points.
The main reason I mentioned encrypting IRC instead of something like SILC is that many people already include irc in their daily workflow. Adding settings to a client you already use may be less intrusive than picking up a new protocol altogether.
Re:Tools For Protecting Your Privacy Online
on Monday June 10, 2013 @09:02AM (#5854016)
The unfortunate reality seems to be that quality open source versions don't exist for a lot of these. I'd love to hear about alternatives that you know of though.