Using a Redis Server
Using a Redis Server
Redis Command line
redis-cli -h 127.0.0.1 -p 6379
Helper
zincrby ‘trending_threads’ 1 ‘Some Thread Title’
zrange ‘trending_threads’ 0 -1
zrange ‘trending_threads’ 0 -1 WITHSCORES
zrange ‘trending_threads’ 0 -1
Comments