Efficient Ruby and Node.js communication/IPC -
i have main node.js api application needs generate pdf file, mature pdf generator prawn pdf, written in ruby.
i need spawn ruby process node.js, pass arbitrary json payload, listen contents returned ruby process, , download in browser.
what efficient method node.js spawn/start ruby process?
how should node.js pass information efficiently ruby process? using json payload, however, ruby have parse this, , don't believe fastest in terms of performance. there more efficient can use pass information between 2 processes?
Comments
Post a Comment