Introducing Redis Streams with RedisInsight, Node.js and Python

Опубликовано: 26 Июль 2022
на канале: Redis
3,896
55

In this recording from a Twitch live stream, Simon shows us how to get started with the Redis Streams data type, RedisInsight and the Python and Node.js programming languages.

The example code repository used in this video can be found on the Redis Developer GitHub: https://github.com/redis-developer/re...

Redis Developer Relations Live Events: https://developer.redis.com/redis-live/
Follow Redis on Twitch:   / redisinc  
Join us on Discord:   / discord  
Get a free Redis Enterprise instance in the cloud: https://redis.com/try-free/
Download RedisInsight: https://redis.com/redis-enterprise/re...
RU202, Redis Streams - a free course at Redis University: https://university.redis.com/courses/...

Timeline:

00:00 Introduction
04:31 What is Redis?
07:49 What are Redis Streams?
12:33 The Stream Producer - XADD
14:55 The Stream Consumer - XRANGE
17:36 The Stream Consumer - XREAD
19:26 Introducing the code samples
20:17 Introducing RedisInsight
21:47 Coding a Producer in Python
25:39 Running the Producer, viewing the stream in RedisInsight
28:22 Coding a Consumer in Python
32:55 Running the Consumer
33:49 Running the Producer and Consumer at the same time
35:34 What if we don't want all the Consumers to process all of the entries?
39:24 Introducing Consumer Groups - XREADGROUP
48:33 Coding a Consumer Group Consumer in Node.js
59:52 Running the Consumer Group Consumers
01:02:56 Consumer Groups in RedisInsight
01:04:05 Running the Producer and Consumer Group Consumers at the same time
01:05:04 Monitoring an active Consumer Group with RedisInsight
01:06:02 Trimming a Stream - XADD, XTRIM, EXPIRE
01:12:01 Questions and Answers
01:15:00 Further learning resources and wrap up


Смотрите видео Introducing Redis Streams with RedisInsight, Node.js and Python онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Redis 26 Июль 2022, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 3,896 раз и оно понравилось 55 людям.