[ 
https://issues.apache.org/jira/browse/THRIFT-1261?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jordan Shaw updated THRIFT-1261:
--------------------------------

    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).


  was: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).


I can't find the upload patch button so here is the github pull request 
https://github.com/wadey/node-thrift/pull/11.

> STDIO support for node-thrift
> -----------------------------
>
>                 Key: THRIFT-1261
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1261
>             Project: Thrift
>          Issue Type: New Feature
>          Components: Node.js - Library
>            Reporter: Jordan Shaw
>            Priority: Minor
>
> 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).

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to