implement message by using redis pub/sub