I have a standalone Node server that receives data via a network socket, aggregates some statistics, and writes them to Mongo.
A Meteor app that watches that Mongo instance and displays that data on a web page with all of the usual Meteor magic
It is a little clumsy to have to have these two standalone servers running to do this; it’s more of a maintenance burden and it makes it harder to have one simple script that starts them and stops them.
Is there any way to fold my standalone Node server into my Meteor app’s server process? From what I’ve read thus far, the answer seems to be “no” (“Meteor is single-threaded”, etc.), but I thought I’d ask in case anyone knows some tricks for making this kind of setup more cohesive.