anchor.diff:  %% @doc
   %% Returns a single value representing node load.
   %% This value is used for comparison in dispatcher load balancing.
  +%% This function will never return value smaller than ?SMALLEST_LOAD.
   %% @end
   %%--------------------------------------------------------------------
   -spec load_for_dispatcher(NodeState :: #node_state{}) -> float().
   load_for_dispatcher(#node_state{cpu_usage = CPU, mem_usage = Mem}) ->
  -    (CPU * 3 + Mem) / 4.
  +    LoadForDispatcher = (CPU * 3 + Mem) / 4,
  +    max(?SMALLEST_LOAD, LoadForDispatcher).
   
   
   %%--------------------------------------------------------------------
  
positive.code: 
  -include("logging.hrl").
  -include("monitoring/monitoring.hrl").
  
  % Record used to express how DNS should be answering. Such records are distributed
  % to DNS modules, and later they evaluate choose_nodes_for_dns/1 function on this
  
negative.code: %%--------------------------------------------------------------------
  -spec load_for_dns(NodeState :: #node_state{}) -> float().
  load_for_dns(#node_state{net_usage = NetUsage} = NodeState) ->
      LoadForDNS = (2.0 + load_for_dispatcher(NodeState) / 100) / 3 * NetUsage,
      max(?SMALLEST_LOAD, LoadForDNS).
  
  
  %%--------------------------------------------------------------------
  