using redis to segment the mac keys