DEV Community

Discussion on: How to use ZeroMQ Pipeline Pattern in Node.js

Collapse
 
imthedeveloper profile image
ImTheDeveloper • Edited

I guess since file processing is seen as a long running task we may elect to run a queue here which could then have multiple workers pulling from it rather than a pub/sub model with balanced consumption.

I use a similar pattern to this pipeline when processing requests to an external API since durability is not required and the request/response time is very short.

Collapse
 
franciscomendes10866 profile image
Francisco Mendes

I fully agree because I would take a similar approach, but in this article I wanted to show that we don't need to know about queues, brokers, among other things. We simply install a client and start using it and progressively learn the rest. 🥳