Sunday 29 April 2018

[Help] Running multiple applications in the same process

If you have two separate applications you want to run on one server, let's say an express webserver and a slack bot, you could execute both of them separately, or you could require them both from a common module and execute that, so that both applications are sharing the same process.I was wondering if it is common to do the latter? I presume doing it that way would let you squeeze a little bit more performance out due to reducing the need for context switching (in a single-core environment), but I imagine that's not too significant.

Submitted April 29, 2018 at 08:51AM by ConstantinopleFett

No comments:

Post a Comment