ray.serve.request_router.ReplicaID#

class ray.serve.request_router.ReplicaID(unique_id: str, deployment_id: DeploymentID)[source]#

A unique identifier for a replica.

PublicAPI (alpha): This API is in alpha and may change before becoming stable.

Methods

Attributes

unique_id

A unique identifier for the replica within the deployment.

deployment_id

The deployment this replica belongs to.