You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Jordan Shaw (Updated) (JIRA)" <ji...@apache.org> on 2011/10/14 02:34:11 UTC

[jira] [Updated] (THRIFT-1261) STDIO support for node-thrift

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

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

    Attachment: nodejs-stdio.patch

this patch is diff'ed from apache/thrift trunk
                
> 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
>         Attachments: nodejs-stdio.patch, stdio.patch
>
>
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira