Skip to content

zjakin/priority-queues

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

npm i node index.js

Start producer and publish around 2500 messages. messages will be published in order: 12345678... 12345678... 12345678... 12345678....

Then run consumer and you will see that order of messages is :

....8888 7777 6666 5555 4444 3333 2222 1111

also you can check that messages are published into queue and are sorted there in priority order

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published