Skip to content

natsuki-yamanaka/cluster_and_socketio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Clustering Node.js Process Using Socket.IO

##depends on [email protected]
[email protected]
Redis server v=2.6.14

##How to run

  • run command

node cluster.js

  • then exec multi terminal node emit.js node emit.js node emit.js

  • then run for graceful restart

node graceful.js

##How to Confirm

In linux.
ps ax | grep node
watch the pid

About

Multi Process And Graceful Restart

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published