Details
-
New Feature
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
-
Patch Available
Description
This bit of code adds support to send thrift messages over STDIO to and from a node process. This comes in handy when running a PHP server. PHP tends to use an exorbitant amount of resources when running as a daemon so it's a better solution to spawn a process, pipe the messages over STDIO, listen for the response on STDOUT and then close the process. This also solves the problem of running a server that isn't inherently multi-threaded(again php as an example).