You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Roger Meier (JIRA)" <ji...@apache.org> on 2011/09/15 20:28:08 UTC
[jira] [Commented] (THRIFT-1261) STDIO support for node-thrift
[ https://issues.apache.org/jira/browse/THRIFT-1261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13105574#comment-13105574 ]
Roger Meier commented on THRIFT-1261:
-------------------------------------
Hi Jordan, your patch does not apply to trunk.
Could you please recreate it from src root directory and grant License to ASF?
see: http://wiki.apache.org/thrift/HowToContribute
Thanks!
-roger
PS: Unit Tests for node.js are very welcome;-) see THRIFT-1134
> 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: 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira