Fix signal delivery#6
Conversation
Otherwise we can't send signals to the controlled process.
|
Hi. Thanks for investigating this! I would like to think some more about it and clean up the way we're working with pipes between Any suggestions on how to make signal delivery more reliable in the presence of data that is constantly being fed to the external process? What I think we should do is slice the data into small chucks in Porcelain before sending it to the port. That way we would at least have a minimum guaranteed latency before a signal can be put on the pipe the goes from Elixir to goon. |
|
Em, disregard what I said about latency above. To put it more accurately, slicing the data will allow us to reduce the average latency for signal delivery. |
|
Unless I'm missing something, slicing the data won't buy you much. AFAIK if On Tue, 8 Dec 2015, 21:27 Alexei Sholik notifications@github.com wrote:
|
|
Hi, @alco, do you still plan to build some solution for the problem? |
Signals were not delivered unless the input pipe was kept open by the elixir program.
The design is still broken (signals still travel synchronously with the data stream) but for most purposes this patch will alleviate the problem.