node.js - Redis Sub/Pub - Get latest published content? -
using nodejs , redis sub/pub system. when log web app want latest published content once subscribe via nodejs. possible? when login want user see content channel subscribed to. right when login there no data, when publish content channel shows up, refresh page , content not show again.
edit
when person logs system instead load results db via php there subscribe channel via nodejs , update rows via redis sub/pub? how work?
i think best answer anytime data published channel @ same time store data in redis using channel name key. when user logs in grabs data in redis, displays subscribe channel waiting updated information. agree or there better way?
Comments
Post a Comment