user redis to make query engine much faster