emit events through redis pub/sub
presist messages and counters