November 2017
Intermediate to advanced
298 pages
7h 10m
English
With the theory out of the way, let's see how we can build our own little queue publisher and listener. For our example here, we will use one of the simpler messaging systems based on Redis called bull (https://www.npmjs.com/package/bull). First we will write the code that will run this whole system, and to make things easy for us, we will use the same image for both the consumer and the producer.
In a new directory, create the following:
Read now
Unlock full access