EasyRpc.NodeUtils (EasyRpc v0.1.2)
View SourceNodeUtils is a helper module to help get target node in Elixir cluster. Support strategies: random, round-robin, hash. For case round-robin, the module will using process dictionary to store the current index.
Summary
Functions
Helper function to calculate target node by random, round-robin, or hash.