title: What's the simplest and fastest way to send messages between two NodeJS processes?
body: <p>I have two processes, process A, that collects information from a feed, does some calculations and outputs some data to process B, which consumes that data. </p>
  
  <p>Process A probably sends around 50 messages per second to process B. I don't require all messages to reach process B.  </p>
  
  <p>I currently have process A running as a web server and process B subscribes as a websocket client to process A. This feels pretty hacky and I feel like there's probably a better solution out there. </p>
  
  <p>I know of various messaging queues such as RabbitMQ and Pub/Sub models like Redis Pub Sub, but it feels like a) I'm over-engineering things and adding a layer of complexity and b) this will probably slow down the time it takes messages to reach process B. </p>
  
  <p>Is there a better solution out there that is faster than having one process run as a local webserver for another process? Is there anything wrong with what I'm currently doing?</p>