Redis INCR and EXPIRE
Redis INCR atomically increments an integer stored at a key, while EXPIRE assigns a time-to-live after which the key is deleted. Together they can implement a basic fixed-window request counter when the key identifies a particular client and window.