Redis Streams Explained

  Рет қаралды 43,797

Redis

Redis

Күн бұрын

Пікірлер: 30
@2005kpboy
@2005kpboy 3 жыл бұрын
Redis is awesome... Cache In-memory DB with persistence Message broker Plain awesome.
@reddot8100
@reddot8100 3 жыл бұрын
Wow, streams very interesting 👍💪
@fuzzyindian7097
@fuzzyindian7097 10 ай бұрын
Hi @Redis Team! Suppose A redis stream with "stream_key1" is published in one services "A" and there is another service "B" which is the consumer, but service B have three instances, and same message will be consumed by all three instance, how to avoid the processing duplicacy in this scenario, If i go with using consumer Id then it will leads to creating 'n' consumer Ids and we can't track on it.
@muneess2979
@muneess2979 2 жыл бұрын
simply superb... how to use redis as message broker
@TheFallenMEL
@TheFallenMEL 2 жыл бұрын
is XTRIM free up memory? on XDEL when all messages are marked deleted then will it free memory?
@abirpaul9027
@abirpaul9027 Жыл бұрын
Hi Redis team! Can you cover some more examples in real life which data structure to use for which situation like if 2 data structures accomodate 2 scenarios
@Redisinc
@Redisinc Жыл бұрын
Great idea! We'll look into creating some examples in the future! - Justin
@Stanoweb
@Stanoweb 2 жыл бұрын
Hi, Is it better to use XTrim ou XDel for removing "processed" streams?
@Redisinc
@Redisinc Жыл бұрын
Hello! XDEL is great for removing specific entries by ID. It's also O(1), so it's very fast. XTRIM is good for removing entries that are older than a specified entry, so it's good for removing an amount of entries where you might know all of the specific ids. It's also O(N) with N being the number of entries to evict. Basically, if you have specific IDs to remove, use XDEL. If you have a large group of entries to remove based on entry age, use XTRIM.
@101graffhead
@101graffhead Жыл бұрын
This seems very useful, but i am a little confused doesn't blpush/blpop achieve same thing to some extent, blpop keeps blocking until new data arrives, but this seems to have buffer too like kafka*
@Redisinc
@Redisinc Жыл бұрын
Hey there! We actually talked about this question on our show This Week on Discord (and now KZbin!) - you can find that discussion here - kzbin.info/www/bejne/jJ-cfXears-AqbM - but tldr; different use cases! Streams allow processing by multiple resources simultaneously without popping / removing any data so it can be processed by multiple different consumers.
@101graffhead
@101graffhead Жыл бұрын
@@Redisinc thanks
@allisongoncalves5605
@allisongoncalves5605 2 жыл бұрын
Awesome explanation !
@Redisinc
@Redisinc 2 жыл бұрын
Thanks, Allison! Let us know if you ever want us to cover something specific! - Justin
@proudindian3697
@proudindian3697 Жыл бұрын
As usual fantastic..!!
@Redisinc
@Redisinc Жыл бұрын
Thank you so much 😀
@cryptolicious3738
@cryptolicious3738 2 жыл бұрын
sweet, cant wait to try this tomorrow
@mayikx
@mayikx 2 жыл бұрын
I don't understand, is Redis trying to replace Kafka?
@Redisinc
@Redisinc 2 жыл бұрын
Redis has had Streams for quite a few versions.
@mohamedfouad6492
@mohamedfouad6492 Жыл бұрын
compared to redis timeseries??
@zeppelin0110
@zeppelin0110 2 жыл бұрын
Based
@acecool8942
@acecool8942 2 жыл бұрын
Braun strawman left wwe 😀
@justincastilla3082
@justincastilla3082 2 жыл бұрын
LMAO I'll take that with the highest of praise! Thanks! - Justin
@CrusaderGeneral
@CrusaderGeneral 3 жыл бұрын
Streams is an important topic, but that beard is a distraction 😂😂😂
@Redisinc
@Redisinc 3 жыл бұрын
Sometimes it gets stuck in my RedisGears :) - Justin
@brbbst
@brbbst 7 ай бұрын
I didn’t even noticed , I thought its the shadow or a shadow.😅
@eitannakash
@eitannakash Жыл бұрын
I wonder what is the best way to mix stream with pubsub. my use case: consume published expired event into stream? or what would be the best way to use ttl of entreis to triger job with the expired entrey value/key
@Redisinc
@Redisinc Жыл бұрын
This is a great question! I would recommend visiting our Discord server to chat with the experts: discord.gg/redis
Caching Slow Database Queries with Node.js and Redis
5:58
Из какого города смотришь? 😃
00:34
МЯТНАЯ ФАНТА
Рет қаралды 2,2 МЛН
Муж внезапно вернулся домой @Oscar_elteacher
00:43
История одного вокалиста
Рет қаралды 4,3 МЛН
Redis Crash Course
27:31
Web Dev Simplified
Рет қаралды 642 М.
I've been using Redis wrong this whole time...
20:53
Dreams of Code
Рет қаралды 369 М.
Data Streaming, Explained
11:55
AltexSoft
Рет қаралды 35 М.
Redis Deep Dive w/ a Ex-Meta Senior Manager
31:00
Hello Interview - SWE Interview Preparation
Рет қаралды 53 М.
Understanding Redis Streams
15:59
Coding with Raphael De Lio
Рет қаралды 9 М.
Do NOT Learn Kubernetes Without Knowing These Concepts...
13:01
Travis Media
Рет қаралды 322 М.
Redis pub-sub vs Kafka? What to use for a chat application?
27:01
Better Dev with Anubhav
Рет қаралды 7 М.
Redis Streams Featuring Salvatore Sanfilippo - Redis Labs
32:08
Understanding Redis Pub/Sub (Getting Started)
9:33
Coding with Raphael De Lio
Рет қаралды 27 М.
Из какого города смотришь? 😃
00:34
МЯТНАЯ ФАНТА
Рет қаралды 2,2 МЛН