On Feb 23, 11:41 am, Adam Wiggins <[email protected]> wrote:
> How about a FIFO?  Use mkfifo to create a named pipe inside your
> ephemeral filesystem, then launch your two child processes.  One can
> write to it, the other can read.  So using your bash example:
>
>     $ heroku run bash
>     ~ $ mkfifo myfifo
>     ~ $ cat myfifo | ./run_listener_process
>     ~ $ ./run_other_process_that_sends_data > myfifo

Adam,

That sounds like a reasonable idea to try.  We were looking at ways to
use UNIX sockets instead of TCP sockets -- it was easy enough on the
"sending data" side but not on the "receiving data" side (the 3rd
party library we just want to use out of the box).

However, FIFO may work.  Thanks for the suggestion; I'll report back
here with what I find.

Cheers

Mark

-- 
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.

Reply via email to