qiuyang163 commented on issue #13787: URL: https://github.com/apache/arrow/issues/13787#issuecomment-1204873445
> > Does pyarrow support communication inter-process(IPC) without mapping a file?Just like multiprocessing. sharedctypes only use sharing memory to do it. > > sharedctypes uses mmap over `/dev/shm`... See https://github.com/python/cpython/blob/f79547a429d5c90af83a0da821e082cba20d4712/Lib/multiprocessing/heap.py#L67-L75 Oh,I understand, you mean I can use code below to finish it ``` path = os.path.join('/dev/shm') mmap = pa.create_memory_map(path, 5000000 * 1000) ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
