Sample PubNub persistence adapter for Redis