top | item 39670890

(no title)

pillusmany | 2 years ago

"Ray" can share python objects memory between processes. It's also much easier to use than multi processing.

discuss

order

ptx|2 years ago

How does that work? I'm not familiar with Ray, but I'm assuming you might be referring to actors [1]? Isn't that basically the same idea as multiprocessing's Managers [2], which also allow client processes to manipulate a remote object through message-passing? (See also DCOM.)

[1] https://docs.ray.io/en/latest/ray-core/walkthrough.html#call...

[2] https://docs.python.org/3/library/multiprocessing.html#manag...