-
Hi, bull.js looks very interesting. I would like to ask if it is possible to implement a system based on bull.js.
One computer is going to be the producer and several computers are going to be the consumers. Simple Example: A client makes a request and sends a list of integers (e.g. 2,1,4,8,9,7,5,2,3,4,1,2). The service should return the sum of the squares of its' input numbers (2^2 + 1^2 + ...). The distributed system should split the input into 3 groups of 4 integers (for example), create a job for each group (3 jobs) and process the jobs to different servers (part of the distributed system). Questions:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
That's seems like a use-case suitable for flows: https://docs.bullmq.io/guide/flows |
Beta Was this translation helpful? Give feedback.
That's seems like a use-case suitable for flows: https://docs.bullmq.io/guide/flows