RpcLoadBalancer.LoadBalancer.SelectionAlgorithm.CallDirect
(rpc_load_balancer v0.3.6)
Copy Markdown
View Source
Selection algorithm that executes calls directly on the local node.
When this algorithm is active, RpcLoadBalancer.call/5 uses apply/3
and RpcLoadBalancer.cast/5 uses spawn/3 instead of going through
:erpc. Node selection is skipped entirely. Useful for development, testing, or single-node deployments
where RPC overhead is unnecessary.