# `RpcLoadBalancer.LoadBalancer.SelectionAlgorithm.CallDirect`
[🔗](https://github.com/MikaAK/rpc_load_balancer/blob/main/lib/rpc_load_balancer/load_balancer/selection_algorithm/call_direct.ex#L1)

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.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
