Question #165

Author: admin
tags: Redis   backend  
Redis command:
SET "ip:block:1.2.3.4" "1" EX 10
...sets the key "ip:block:1.2.3.4" with the string value "1", that will be deleted in 10 seconds.
...sets two keys "ip:block:1.2.3.4" and "1" with integer value 10.
...adds the new member "1" to the set "ip:block:1.2.3.4" with the TTL option.
Rate the difficulty of the question:
easyhard