Challenge 1: Build a View Counter — Possible Solution ==================================================================== 127.0.0.1:6379> SET page:about 0 OK 127.0.0.1:6379> INCR page:about (integer) 1 127.0.0.1:6379> INCR page:about (integer) 2 127.0.0.1:6379> INCR page:about (integer) 3 WHY THIS WORKS AS AN ANSWER ------------------------------ SET page:about 0 initializes the counter at a known starting value — without this, the first INCR would still work (Redis treats a missing key as 0 for INCR), but explicitly initializing it makes the starting state clear rather than relying on that implicit default. Each subsequent INCR page:about atomically adds 1 to the current value and returns the NEW value directly — 1, then 2, then 3 — confirming the counter incremented correctly after each call, exactly the atomic, race-condition-free counter behavior this chapter described as INCR's key benefit over a naive read-then-write approach.