add some code about mq and redis