This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# =============================== | |
# Counters with Redis Sorted Sets | |
# =============================== | |
redis-cli DEL downloads:total downloads:total:today downloads:files:total downloads:files:2011-05-10 | |
# -------------- | |
# STORING COUNTS | |
# -------------- | |
# On each hit for file, do this: |