populate_redis and matching algorithm complete