Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-1261

STDIO support for node-thrift

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • None
    • Node.js - Library
    • 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).

      Attachments

        1. nodejs-stdio.patch
          4 kB
          Jordan Shaw
        2. stdio.patch
          5 kB
          Jordan Shaw

        Activity

          People

            jshaw86 Jordan Shaw
            jshaw86 Jordan Shaw
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: