mpolinowski / ray-remote-actors

Use Ray Actors to maintain a state between invocations.

Home Page:https://mpolinowski.github.io/docs/IoT-and-Machine-Learning/AIOps/2023-01-26-python-ray-remote-actors/2023-01-26

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Python Ray Remote Actors

Remote Actors allow to make parallel remote procedure calls just like Remote Functions. But unlike the latter they enable you to maintain a state between invocations. To ensure state consistency, actors process one request at a time. An actor can:

  • Store data
  • Receive messages from other actors
  • Pass messages to other actors
  • Create additional child actors

Source: Scaling Python with Ray

About

Use Ray Actors to maintain a state between invocations.

https://mpolinowski.github.io/docs/IoT-and-Machine-Learning/AIOps/2023-01-26-python-ray-remote-actors/2023-01-26


Languages

Language:Python 100.0%