On Thu, 19 Aug 2021 14:31:56 +0000
Hagai Har-Gil <[email protected]> wrote:

> Hello,
> 
> My IPC use case involves writing a Windows-based real tlime data stream in 
> Python, and reading it back concurrently with Rust. I tried using the IPC 
> protocol to accomplish that, but I'm currently unsuccessful. The issue I'm 
> facing is probably related to concurrent access to a file by the two 
> different processes, where one is attempting to write and the other to read. 
> Code examples can be found in this issue that I filed against the Rust 
> (unofficial) IPC implementation 
> (https://github.com/jorgecarleitao/arrow2/issues/301), but I believe that 
> this problem isn't due to a faulty implementation.
> 
> My question is a bit more broad - is my use case a valid one for the IPC 
> protocol?

Well... what you're trying to do is usually achived by having one
process writing to e.g. a pipe or socket, and the other process reading
from the other end of the pipe or socket.  Using an actual on-disk file
for that sounds a bit weird.

Regards

Antoine.


Reply via email to