Skip to content

devdemi/notifier-cluster

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

notifier-cluster

users.js - creates 7 users in redis, e.g. key - notifier-user:101 and value - pass1

publish.js - publishes to redis channel to this 7 users some message

server.js - start application without clusters.

server-cluster.js - start application with clusters.

Usage

  • You can start server.js or server-cluster.js.

  • Open localhost:3000

  • Enter user id and password which created with user.js, e.g 101/pass1

  • Publish some messages to channel with publish.js.

  • After that you can see this message in browser.

About

notifier-cluster

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published