simple api with redis pub-sub