|
You are here |
danielms.site | ||
| | | | |
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: | |
| | | | |
whatibroke.com
|
|
| | | | | Hey everyone, Just sharing a helper function to get you started when trying to connect to a mysql managed cluster on DigitalOcean with Golang. Before we get into the code you'll need to grab a couple of things from the database dashboard (on DigitalOcean). Open the databases tabLook for the "Connection Details" sectionDownload your ca... | |
| | | | |
mko.re
|
|
| | | |||