RpcLoadBalancer.LoadBalancer.SelectionAlgorithm.CallDirect (rpc_load_balancer v0.2.1)

Copy Markdown View Source

Selection algorithm that executes calls directly on the local node.

When this algorithm is active, LoadBalancer.call/5 uses apply/3 and LoadBalancer.cast/5 uses spawn/3 instead of going through :erpc. Useful for development, testing, or single-node deployments where RPC overhead is unnecessary.