anchor.diff:                         (Type::items, Value::non_neg_integer())   -> ok.
   update_db_monitor(Type, Value) ->
       case monitor_db() of
  -        true ->
  -%%             if
  -%%                 Type =:= reads orelse Type =:= writes ->
  -%%                     %% TODO Normalize key because histogram might contain circular elements, e.g. [MAXVAL, 0, 1]
  -%%
  -%%             end,
  -            monitor:proc_set_value(lb_active, Type, fun(Old) -> rrd:add_now(Value, Old) end);
  -            %monitor:monitor_set_value(lb_active, Type, fun(Old) -> rrd:add_now(Value, Old) end);
  +        true -> monitor:proc_set_value(lb_active, Type,
  +                                       fun(Old) -> rrd:add_now(Value, Old) end);
           _ -> ok
       end.
   
  
positive.code:                     true  -> slide;
                      false -> jump
                  end,
              ProposedTargetLoad = lb_info:get_target_load(JumpOrSlide, MyNode, LightNode),
              TargetLoad =
                  case gossip_available(Options) of
                      true -> AvgItems = proplists:get_value(avg, Options),
                              %% don't take away more items than the average
                              ?IIF(ProposedTargetLoad > AvgItems, AvgItems, ProposedTargetLoad);
                      false -> ProposedTargetLoad
                  end,
              {From, To, Direction} =
                  case JumpOrSlide =:= jump orelse lb_info:is_succ(MyNode, LightNode) of
                      true  -> %% Jump or heavy node is succ of light node
                          {dht_node_state:get(DhtState, pred_id), dht_node_state:get(DhtState, node_id), forward}; %% TODO node_id-1 ?
                      false -> %% Light node is succ of heavy node
                          {dht_node_state:get(DhtState, node_id), dht_node_state:get(DhtState, pred_id), backward}
                  end,
              {SplitKey, TakenLoad} = dht_node_state:get_split_key(DhtState, From, To, TargetLoad, Direction),
              ?TRACE("SplitKey: ~p TargetLoad: ~p TakenLoad: ~p~n", [SplitKey, TargetLoad, TakenLoad]),
  
              case is_simulation(Options) of
                  true -> %% compute result of simulation and reply
                      ReqId = proplists:get_value(simulate, Options),
                      LoadChange =
  
negative.code: %   limitations under the License.
  
  %% @author Maximilian Michels <michels@zib.de>
  %% @doc Active load balancing core module
  %% @version $Id$
  -module(lb_active).
  -author('michels@zib.de').
  