Skip to main content

Module client

Module client 

Source
Expand description

tarpc client utilities.

This module provides client utilities for connecting to remote shards and the coordinator. It includes connection functions, retry logic, and a connection pool for efficient client reuse.

Structs§

ClientConfig
Configuration for client connections.
CoordinatorClient
A coordinator client wrapper with automatic reconnection.
ShardClientPool
A pool of shard client connections.

Functions§

connect_to_coordinator
Create a client connection to the coordinator.
connect_to_coordinator_with_config
Create a client connection to the coordinator with custom configuration.
connect_to_coordinator_with_retry
Connect to the coordinator with automatic retry on failure.
connect_to_shard
Create a client connection to a shard.
connect_to_shard_with_config
Create a client connection to a shard with custom configuration.
connect_to_shard_with_retry
Connect to a shard with automatic retry on failure.