Skip to content

Commit

Permalink
Add consumer's team example (statistic worker)
Browse files Browse the repository at this point in the history
  • Loading branch information
eusunov committed Nov 19, 2020
1 parent cad9a42 commit 6042378
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ A Fastify plugin for fast, reliable, and scalable channels implementation based

Suitable for IoT applications with a massive network traffic, pub/sub use cases or any implementation with multiple producers/consumers.

Implements a possiblity to scale the message processing across different consumers, without single consumers having to process all the messages. A group of consumers (a team) can cooperate consuming a different portion of the messages form the same channel.

Can be used with a single Redis instance and later updated easily to a cluster configuration without need of any application change.

The implementation uses native Promises.
Expand Down
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fastify-redis-channels",
"version": "1.1.1",
"version": "1.1.2",
"description": "A Fastify plugin for channels implementation based on Redis streams.",
"main": "index.js",
"scripts": {
Expand All @@ -27,7 +27,7 @@
},
"homepage": "https://github.com/hearit-io/fastify-redis-channels#readme",
"dependencies": {
"@hearit-io/redis-channels": "^1.0.1",
"@hearit-io/redis-channels": "^1.1.0",
"fastify-plugin": "^3.0.0"
},
"devDependencies": {
Expand Down

0 comments on commit 6042378

Please sign in to comment.