anchor.diff:                {ok, T} -> T;
                 undefined -> 500
               end,
  -  {ok, Redis} =
  -    case {application:get_env(redis_pwd), application:get_env(redis_db)} of
  -      {undefined, undefined} ->
  -        erldis_client:start_link();
  -      {undefined, {ok, Db}} ->
  -        erldis_client:start_link(Db);
  -      {{ok, Pwd}, undefined} ->
  -        erldis_client:start_link(Host, Port, Pwd);
  -      {{ok, Pwd}, {ok, Db}} ->
  -        erldis_client:start_link(Host, Port, Pwd, [{timeout, Timeout}], Db)
  -    end,
  +  Redis =
  +    lists:map(
  +      fun(_) ->
  +              {ok, Conn} =
  +                case {application:get_env(redis_pwd), application:get_env(redis_db)} of
  +                  {undefined, undefined} ->
  +                    erldis_client:start_link();
  +                  {undefined, {ok, Db}} ->
  +                    erldis_client:start_link(Db);
  +                  {{ok, Pwd}, undefined} ->
  +                    erldis_client:start_link(Host, Port, Pwd);
  +                  {{ok, Pwd}, {ok, Db}} ->
  +                    erldis_client:start_link(Host, Port, Pwd, [{timeout, Timeout}], Db)
  +                end,
  +              Conn
  +      end, lists:seq(1, ?REDIS_CONNECTIONS)),
     ?INFO("Database initialized~n", []),
     {ok, #state{redis = Redis}}.
   
   %% @hidden
   -spec handle_call(tuple(), reference(), state()) -> {reply, {ok, term()} | {throw, term()}, state()}.
   handle_call(Request, From, State) ->
  +  [RedisConn|Redis] = State#state.redis,
     proc_lib:spawn_link(
       fun() ->
               Res =
  -              try handle_call(Request, State) of
  +              try handle_call(Request, RedisConn) of
                   ok -> ok;
                   Result -> {ok, Result}
                 catch
  
positive.code:     #match_stream_event.timestamp,
      lists:foldl(
        fun(Key, Acc) ->
                case erldis:get(State#state.redis, Key) of
                  nil -> Acc;
                  Bin -> [erlang:binary_to_term(Bin)|Acc]
                end
        end, [], Keys));
  handle_call({get, MatchId}, State) ->
    Key = <<"match-", MatchId/binary>>,
    case erldis:get(State#state.redis, Key) of
      nil -> not_found;
      MatchBin -> erlang:binary_to_term(MatchBin)
    end.
negative.code:               end,
              gen_server:reply(From, Res)
      end),
    {noreply, State#state{redis = Redis ++ [RedisConn]}}.
  
  %% @hidden
  -spec handle_cast(_, state()) -> {noreply, state()}.
  