Top 5 Redis Use Cases

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 ก.ย. 2024

ความคิดเห็น • 86

  • @joepasqua1751
    @joepasqua1751 ปีที่แล้ว +33

    Another very nice overview video - thank you. And thank you for mentioning the "thundering herd" effect at 1:45. Over the years I've been surprised by how often this issue arises in systems built by people who should know better. And of course this is not just related to Redis.

  • @RottenMuLoT
    @RottenMuLoT ปีที่แล้ว +40

    I think this video missed to talk about the very important fact that Redis has a limited memory space and depending of its configuration, when full, it will erase data. For example, when using as a Session "storage", the default configuration would make it so that in conjunction with TTL, the older/inactive sessions will be destroyed to make place for the new ones, effectively acting like a FIFO.
    So you have to carefully calculate the average size of your session's data and divide the available Redis space by it to obtain the theorical number of possible concurrent sessions and plan accordingly.

  • @Alex-bc3xe
    @Alex-bc3xe ปีที่แล้ว +2

    You actually found the best recipe for making videos great with you explanations combined.

  • @Pythonnaire
    @Pythonnaire ปีที่แล้ว +35

    Let's dive in

  • @uokesita
    @uokesita ปีที่แล้ว +3

    @ByteByteGo thank you for the video. I have a small complaint. Making the graphs bigger over time, makes me dizzy to the point I can't read them (I have to pause the video to read them), maybe this is just me. Everything else is great, love your explanations.

  • @deefdragon
    @deefdragon ปีที่แล้ว +3

    I use redis allong with the consistent hashing that was discussed in an earlier video to create a work division system for my persistent jobs.

  • @sethamballa9428
    @sethamballa9428 ปีที่แล้ว +4

    You are one of the best teachers on youtube for this kind of stuff. The animations are also super helpful to understand the content. I think that if you enunciate your words a bit more, itd take your video quality to another level

  • @MarcoLenzo
    @MarcoLenzo ปีที่แล้ว +2

    I really enjoyed this overview. Didn't know about the rate limiter use case. Now I'm eager to try it out.

  • @illiakailli
    @illiakailli หลายเดือนก่อน

    great video, thanks for sharing! didn't get leaderboard scenario part where you say it helps to retrieve entry by its score ... can't imagine that happening in real life.

  • @Ruslan-UA
    @Ruslan-UA ปีที่แล้ว +7

    A quick and understandable explanation, as always. Thanks.

  • @terranova1995
    @terranova1995 3 หลายเดือนก่อน

    This answers my question about Redis.

  • @Tolmachovtv
    @Tolmachovtv 7 หลายเดือนก่อน

    Thank you for such short, clear and easy to understand video

  • @lattakia3812
    @lattakia3812 ปีที่แล้ว +3

    I use Redis as a replacement for Elasticsearch. However it's full text search capability has a limitation/quirk.

    • @markzuckerbread1865
      @markzuckerbread1865 ปีที่แล้ว +2

      A coworker of mine uses it to compliment Elasticsearch, in cases where certain shards get more hits than others, have not tried it myself but it sounds sensible for dealing with usage spikes.

  • @SoreBrain
    @SoreBrain ปีที่แล้ว +1

    A video about trpc would be super cool as it's a mix of rest and rpc

  • @jntaca
    @jntaca ปีที่แล้ว

    You are the number 1 !!
    Please open a Telegram channel replicating the newsletter.

    • @jntaca
      @jntaca ปีที่แล้ว

      BTW
      I use Redis for session storage, cache, rate limiting and....as a message broker thanks to pub/sub

  • @houssemchr1539
    @houssemchr1539 ปีที่แล้ว +2

    Nice explanation thanks, I wonder how make the video and which tools do use

  • @fmictsang8874
    @fmictsang8874 ปีที่แล้ว +3

    In the rate limiter use case, would the rejected request retries certain times until the queue is available or would the server simply return rejected response?

  • @clef6167
    @clef6167 11 หลายเดือนก่อน

    1. Caching
    2. Session data
    3. Replication
    4. Distribution lock
    5. Ray limiter
    6. gaming leaderboard

  • @thiagolopessilva
    @thiagolopessilva ปีที่แล้ว

    You’re the best. Thanks to share this amazing content with us.

  • @JeremyChone
    @JeremyChone ปีที่แล้ว +3

    Why not Redis Stream for Queue?

  • @robkami9193
    @robkami9193 ปีที่แล้ว

    I’d like to purchase the annual pass 59.99$. Thanks for your great works

  • @binhvothanh1324
    @binhvothanh1324 ปีที่แล้ว

    This is a very useful video! Thank you for making this

  • @Md_sadiq_Md
    @Md_sadiq_Md ปีที่แล้ว +2

    Pushing the algorithm ❤️

  • @emreener
    @emreener 3 หลายเดือนก่อน

    Its time to update this video as how to migrate to Valkey, Garnet or KeyDB as Redis no longer open source

  • @IsaTimur
    @IsaTimur ปีที่แล้ว

    Thx! As always the best explanation and samples!

  • @MegaRockboyz
    @MegaRockboyz ปีที่แล้ว

    Please make videos on AWS Services. Event Driven Architectures, Monolith Architectures, Lambda Functions, EC2 instances, S3, IAM Service.

  • @nid274
    @nid274 ปีที่แล้ว +1

    wow! this was informational, thanks!

  • @SaifAli96
    @SaifAli96 ปีที่แล้ว

    Amazing work! Don't give up, you'll come through happier and stronger soon. Enjoy your time with the family.
    Looking forward to March 10th! That's when the course comes out right?

  • @YakovL
    @YakovL ปีที่แล้ว

    awesome video and format, thanks!

  • @FinlayDaG33k
    @FinlayDaG33k ปีที่แล้ว +2

    Redis is always really nice to use but I miss one feature and that is multi-tenancy.
    It's always kind of a pain (and kind of a waste imo) that I have to use and maintain 1 redis instance per app (or multiple when using replication) instead of setting up 1 cluster, giving each app their own space (with no access to the spaces of other apps) and calling it a day.

    • @dejangegic
      @dejangegic ปีที่แล้ว +2

      I think that can be coded in pretty easily. You can use ":" to separate tenants. Just make the first part of the key tenant specific in your backend

  • @WomboBraker
    @WomboBraker ปีที่แล้ว +1

    you are golden, thank you so much

  • @narmadasahoo2986
    @narmadasahoo2986 11 หลายเดือนก่อน

    thank you so much, such a great video.

  • @victornoagbodji
    @victornoagbodji ปีที่แล้ว

    Great overview! Thank you 😊🙏

  • @brucewayne2480
    @brucewayne2480 ปีที่แล้ว

    I've used it for phone number validation and for a call center app to store the priorities of agents

    • @pjf7044
      @pjf7044 ปีที่แล้ว

      How

    • @brucewayne2480
      @brucewayne2480 ปีที่แล้ว +2

      @@pjf7044 I've used sorted liste , each agent has a score depending on how much he waited and his performance after each call you update his score, and whenever you have a request for that call you pick the agent in the top of the list

  • @bogumilpiotrowski
    @bogumilpiotrowski ปีที่แล้ว +1

    Love the explanation ❤️🔍💣

  • @DePhpBug
    @DePhpBug 2 หลายเดือนก่อน

    I'm new to redis and still scouting around which to use, but do we need to pay to use Redis?

  • @grovertec
    @grovertec 10 หลายเดือนก่อน

    Hello, excellent video, a question about what tool you use to create these types of very dynamic presentations. Thank you

    • @santosh_bhat
      @santosh_bhat 8 หลายเดือนก่อน

      Hi mate, did you figure out which tool is being used here

    • @grovertec
      @grovertec 8 หลายเดือนก่อน +1

      @@santosh_bhat Hi, I'm still searching.

  • @heyiamsra5207
    @heyiamsra5207 ปีที่แล้ว

    Enjoyed this!

  • @oscardoan7385
    @oscardoan7385 ปีที่แล้ว +5

    I love the way to draw flowcharts, which tool is he using?

  • @matinlh644
    @matinlh644 ปีที่แล้ว

    Great content, share more content about redis and configuration in laravel ❤️

  • @sudharsansathiamoorthy1075
    @sudharsansathiamoorthy1075 ปีที่แล้ว

    Excellent presentation Bro 👍

  • @sharemomentsindian
    @sharemomentsindian 3 หลายเดือนก่อน

    how do you make presentation using which tool if you can guide to do that as well, or if anyone knows about it

  • @joeb6705
    @joeb6705 ปีที่แล้ว

    "distributes lock" is misspelled log in the chapter names

  • @hi_arav
    @hi_arav ปีที่แล้ว

    These videos are awesome. Subscribers++

  • @SoreBrain
    @SoreBrain ปีที่แล้ว

    Great deeper dives

  • @dereknguyen5556
    @dereknguyen5556 ปีที่แล้ว

    Thanks for this video

  • @vikasgupta1828
    @vikasgupta1828 ปีที่แล้ว

    Thanks

  • @hamzadlm6625
    @hamzadlm6625 ปีที่แล้ว

    GREAT WORK

  • @Ayush_kumar123
    @Ayush_kumar123 ปีที่แล้ว

    Very Helpful.

  • @massimotin
    @massimotin 11 หลายเดือนก่อน

    Probably my bad, but why (minute 2:15 and later) you speak about stateless, if you are storing and managing the session id ? It should be stateful ? Thanks (if I am wrong please tell me).

    • @massimotin
      @massimotin 11 หลายเดือนก่อน

      Ah ok probably the server are stateless, but using Redis to make them statefull ;-)

  • @DavidOkwii
    @DavidOkwii ปีที่แล้ว

    Thanks, Sahn for yet again a great video. Out of curiosity though, I am wondering what tools and techniques you use to create these smooth animations for your videos. I have a TH-cam channel of my own and I would like to incorporate these as well. Thanks.

    • @dejangegic
      @dejangegic ปีที่แล้ว

      he's never sharing his tools

  • @geekybruce4819
    @geekybruce4819 ปีที่แล้ว

    What are the best use cases of redis time series ?

  • @АлександрСосо-щ1б
    @АлександрСосо-щ1б ปีที่แล้ว

    why you didn`t mentioned pub/sub case?

  • @RaveendraGuntupalli
    @RaveendraGuntupalli ปีที่แล้ว

    Very Nice 😀

  • @siarheikaravai
    @siarheikaravai ปีที่แล้ว

    Why are we talking about sessions for a stateless server? Stateful servers might use sessions

  • @O0marO
    @O0marO ปีที่แล้ว

    BBC is using Redis as event bus interestingly enough.

  • @t4pusd
    @t4pusd ปีที่แล้ว +1

    At timestamp 1:54 is it "stateless" or "statefull" web service?

    • @gcasar
      @gcasar ปีที่แล้ว +4

      stateless. redis is used to hold the state, enabling applications to hold zero state themselves directly

    • @t4pusd
      @t4pusd ปีที่แล้ว +1

      @@gcasar Thanks. That totally makes sense now that u explained. But technically the server + redis as a whole is providing statefull web service. Am i right?

    • @gcasar
      @gcasar ปีที่แล้ว +2

      yes. the upshot is that you can scale your state and processing separately and reason about processing in a much more straightforward manner

  • @danielschmider5069
    @danielschmider5069 ปีที่แล้ว

    How much slower is it to use redis, rather than literally storing the variable in the language itself?

    • @manju4ever222
      @manju4ever222 ปีที่แล้ว

      What if you want multiple systems to access the same result (which might have expensive query running behind) ?

  • @jonathangamble
    @jonathangamble ปีที่แล้ว

    RedisGraph can replace your whole database

  • @johnvick8861
    @johnvick8861 ปีที่แล้ว

    i have difficulty in connecction only

  • @jamieg1802
    @jamieg1802 ปีที่แล้ว

    i am starving to death as my job forces me to work for no pay

    • @jamieg1802
      @jamieg1802 ปีที่แล้ว

      and they keep illegally hacking into my pc, they are nosey and commit felonies. Need to be in prison for life

    • @TheYeti
      @TheYeti ปีที่แล้ว

      @@jamieg1802 update

  • @hammedolatunji5499
    @hammedolatunji5499 11 หลายเดือนก่อน

    @ByteByteGo thanks for this tutorial please what is the of the you use in making this video

  • @bykalim
    @bykalim ปีที่แล้ว

    very nice overview video, thank you

  • @manengsinclair8293
    @manengsinclair8293 ปีที่แล้ว

    hello @ByteByteGo , great flowcharts, please which tool are using for that?