1. Use redis as memory cache.