Skip to content

sh84/node-ipc-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-ipc-test

Performance tests for inter-process communication (IPC).

  • redis.js - use redis channels
  • native.js - build-in process.send (pipe)
  • unix.js - unix socket + JSON
  • unix_opt1.js - unix socket + string manual parse
  • unix_opt2.js - unix socket + Buffer
  • tcp.js - tcp socket + JSON

Run: node native.js workers parallel_threads payload_size

For example: node native.js 1 1 100 - run 1 worker with 1 thread and use 100 bytes payload for every message.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published