Redis in Python in under 4 minutes for beginners
Вставка
- Опубліковано 31 лип 2024
- Here's how to use Python in Redis in under 4 minutes. This video will get you started with the very basics of working with Redis in Python. You'll also see cache busting techniques (aka automated removal of values from Redis after a set amount of time).
This video is meant for beginners to get you up and running as quickly as possible.
Sections
00:00 Intro
00:09 Installation
00:36 Definition of the program (app.py)
00:59 Connect to Redis Server
01:08 Set a key/value pair in Redis
01:14 Get a key/value pair in Redis
01:41 Review program output
02:08 Setting time to live (TTL) / cache busting with Redis
03:11 Cache busting / removal / TTL in milliseconds
03:38 OpenTelemetry observability - Наука та технологія