Presence Tracking with Redis

from blog Blog on hjr265.me, | ↗ original
Let’s say you are building a chat application. You have everything chalked out. The only thing left is that pesky green-yellow-grey indicator next to everyone’s avatar. With Redis, there is an easy way to track and display the presence of your users. All you need is a Redis sorted set. A Redis sorted set is a collection of unique strings...