- Redis basics
- Redis for simple caching
- Creating redis clients with
redis-py
library
-
Writing string to Redis:
- class
Cache
implementation - method
store
implementation - File: exercise.py
- class
-
Reading from Redis and recovering original type using
redis-py
- Methods implementation:
get_str
andget_int
- File: exercise.py
- Methods implementation:
-
Incrementing values on Redis
- Implementation of
count calls
function-based decorator forCache.store
method - File: exercise.py
- Implementation of
-
Storing list elements in Redis
- Implementation of
call_history
function-based decorator forCache.store
method. - File: exercise.py
- Implementation of
-
Retrieving list elements from Redis
- Implementation of
replay
function to display history of a particular function based on data retrieved from Redis - File: exercise.py
- Implementation of
-
Implementing an expiring web cache and tracker
- Function
get_page
for making requests and tracking url access count - File: web.py
- Function