|
You are here |
danielms.site | ||
| | | | |
www.mathieupassenaud.fr
|
|
| | | | | ||
| | | | |
parsiya.net
|
|
| | | | | ||
| | | | |
hjr265.me
|
|
| | | | | 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 (members) ordered by an associated score. ... Track Last Seen with ZADD Using ZADD you can store your user's identifier as a member in a sorted set and the time the user was "last seen" as its score: | |
| | | | |
cambridge163.wordpress.com
|
|
| | | This is the excerpt for your very firstpost. | ||