Redis in 100 Seconds

Поделиться
HTML-код
  • Опубликовано: 29 ноя 2024

Комментарии • 562

  • @Fireship
    @Fireship  3 года назад +608

    I thought I knew Redis, but I was wrong. Setup a database, then download Redis Insight and you'll see why bit.ly/3wnVsXA. Stay tuned for a full tutorial where we really put it to the test.

    • @TheLifeMusicYT
      @TheLifeMusicYT 3 года назад +13

      let's go i'll finally have a reason to learn redis if you explain it :D

    • @pilearn1266
      @pilearn1266 3 года назад +3

      I get what you are saying. It is just a lot of work upfront to set an excellent caching system.

    • @darshangowda309
      @darshangowda309 3 года назад +11

      I thought I knew Redis, but I was wrong too! I never knew it was acronym for Remote Dictionary Server 🔥

    • @AlexanderGarzon
      @AlexanderGarzon 3 года назад +4

      I always used redis as volatile key value storage, either cache or transitional data .. but I didn't knew you can actually use it as primary database... I will dig more into it. Thanks.

    • @yt-sh
      @yt-sh 3 года назад +2

      you learn wayy faster

  • @ElNachoMacho
    @ElNachoMacho 2 года назад +80

    This is a channel I didn't know I needed. I am studying up on different cloud services and it's like drinking from a fire hydrant. When I have to get familiar with dozens of services, it's great to have the ability to get a brief overview just like it is done in this video. Thank you!

  • @ngneerin
    @ngneerin 3 года назад +1108

    100 seconds! That's all the attention span I have

    • @shanujha7245
      @shanujha7245 3 года назад +31

      nice
      i forgot what i was going to say

    • @thedragonrises6882
      @thedragonrises6882 3 года назад +8

      Kinda sad

    • @gubocci
      @gubocci 3 года назад +6

      @@thedragonrises6882 what do you mean kinda

    • @thedragonrises6882
      @thedragonrises6882 3 года назад +2

      @@gubocci I mean it could've been 30secs like most of the morons on social media nowadays but atleast OP is on 100secs for now.

    • @pedrochacin1386
      @pedrochacin1386 3 года назад +3

      I got less. Got lost in the middle of the video.

  • @hnasr
    @hnasr 3 года назад +763

    Fantastic as usual (you really make our content look bad next to yours Jeff haha)
    What I would add is redis achieves full durability through APF (append only file) journaling aka WAL or redo logs in other databases.
    The beauty here is you can configure how durable you want Redis to be which can give you more write performance. Full durability means every write synchronously writes to the AOF disk and only succeeds when that write to disk succeeds. Your writes are as fast as your AOF disk but you suffer no data loss in case of an outage.
    You can configure redis journaling to be asynchronously written every x second (minimum 1 second) which means writes are blazing fast (in memory). Every second the writes are buffered and asynchronously written to the AOF. However you could lose a second worth of data in case of an outage.
    So I am really interested to see how redis perform in full durability mode against other DBMS specially with indexes and concurrent transactions.

    • @washedtoohot
      @washedtoohot 3 года назад +16

      Love your content as well, bro ♥️

    • @LyroPac
      @LyroPac 3 года назад +9

      Love your content... Because of you I have learned a lot... Thanks for sharing your valuable time and knowledge man

    • @Fireship
      @Fireship  3 года назад +104

      Interesting, I'll roll the dice and take performance over reliability.

    • @deepeshmathuria
      @deepeshmathuria 3 года назад +61

      @@Fireship depends on the system don't you think, for a financial system or a system which heavily depends on data integrity, fast doesn't mean better, correct does.

    • @praenubilus1980
      @praenubilus1980 3 года назад

      Jeff always using background music, maybe you should consider about that in your future video

  • @phantomproduction5757
    @phantomproduction5757 2 года назад +8

    As a computer science student, I start from your channel whenever I have to study a different topic. Thanks for the excellent short content.🙏

  • @TheJobCompany
    @TheJobCompany 3 года назад +56

    The animation at 2:16 was kinda cool

    • @TheJobCompany
      @TheJobCompany 3 года назад +1

      @Ishtiaque A Walid that was too easy to type so I figured..

    • @_timestamp
      @_timestamp 3 года назад

      Probably made in Adobe After Effects

    • @TheJobCompany
      @TheJobCompany 3 года назад +1

      @@_timestamp I was hoping it was a css keyframes anim

  • @brod515
    @brod515 3 года назад +168

    Redis in 100 Seconds
    Me: "pfff... I already know reddis. I bet there is nothing I'll learn"
    @0:19:
    Me: "I've already failed"

  • @axea4554
    @axea4554 3 года назад +379

    “if you need relations then add graphs extension” I would love to see a video where you explain if it possible to swap a relation database with a graph database

    • @assorium
      @assorium 3 года назад +16

      Want to see this too. Because now, it seems like to use a cow instead of a horse in a wagon. You maybe can, but why?

    • @ZachInSpace
      @ZachInSpace 3 года назад +1

      Neo4j

    • @TheRanguna
      @TheRanguna 3 года назад +3

      @@assorium exactly, that's a very good analogy.

    • @Mettaworldj
      @Mettaworldj 3 года назад

      Graph databases are awesome I’m working with one right now for a project. And seeing that redis now includes one as an option I’m sold!!

    • @shanujha7245
      @shanujha7245 3 года назад +1

      and since neo4j just launched a graphdb.....

  • @basix250
    @basix250 3 года назад +40

    You just totally changed my understanding of Redis at 1 AM. Excellent video.

  • @3bdo3id
    @3bdo3id 8 месяцев назад +16

    It is closed source for future updates now

    • @saumitit944
      @saumitit944 7 месяцев назад +1

      It's not open source but instead "source-available"

  • @mryechkin
    @mryechkin 3 года назад +16

    Incredible. This is by far the most clear and concise explanation of Redis I've ever heard

  • @nemeziz_prime
    @nemeziz_prime 2 года назад +6

    I have to admit - whenever I'm trying to understand some fancy tech concept, like get a detailed overview of it, Fireship is the one-stop solution !! Amazing content 👏🏻👏🏻👏🏻

  •  3 года назад +24

    Your ability to produce quality content so fast is amazing

  • @muhammadsami479
    @muhammadsami479 3 года назад +75

    That animated intro 😍

  • @explodingpizza
    @explodingpizza 3 года назад +8

    I can't say no to a tech video that teaches me something valuable in only 100 seconds.

  • @DarkH4X0
    @DarkH4X0 3 года назад +55

    Salvatore Sanfilippo is one of the many reasons why I'm proud of being Italian (he comes just after the pizza)

  • @bowiemtl
    @bowiemtl Год назад +1

    Your shorts are usually jokey but these videos really do a good job of explaining the main functionality of certain frameworks and concepts. Whether or not I'd use redis comes down to what project is being worked on. All projects I've worked on so far have never needed something more advanced than a regular mysql database. The thing is that people want more performance out of it yet I haven't come even close to the full potential by optimizing my queries properly and beyond that level of performance we're talking about completely different levels of scale

  • @jacobrose9606
    @jacobrose9606 3 года назад +5

    These videos are highly accessible and that’s why they blow up. Fireship should get a dedicated team with the express purpose of planning out these bite-sized videos… seriously.
    Have different “tiers” as well, like normie, beginner, and tech wizard videos.

  • @jt099
    @jt099 3 года назад

    Honestly you have such a gift, I don’t even think redis themselves could come up with a better commercial

  • @ankitsingh-xw3bk
    @ankitsingh-xw3bk 3 года назад +121

    I have setup Redis as cluster with 6 nodes. ✌

    • @willinton06
      @willinton06 3 года назад +8

      @Chris Habgood spoilers, it is, but once you set it up correctly you’re good to go

    • @ankitsingh-xw3bk
      @ankitsingh-xw3bk 3 года назад +1

      @Chris Habgood no as of now no such issue. Just we need to follow proper configuration

    • @dr.z7958
      @dr.z7958 3 года назад

      Why you need many nodes? I thought it was scalable to couple of GBs easily? I don't think you're having >300GB dataset?

    • @willinton06
      @willinton06 3 года назад +1

      @@dr.z7958 why wouldn’t he?

    • @ankitsingh-xw3bk
      @ankitsingh-xw3bk 3 года назад +5

      @@dr.z7958 master slave architecture for failover. 3 master nodes and 3 slave nodes.

  • @blurey8569
    @blurey8569 3 года назад +88

    The idea of Redis as primary database terrifies me 😬
    Always fast database sounds too good to be true tho

    • @JariNestel
      @JariNestel 3 года назад +3

      Me too, especially as I don't see it scaling into the TB region at all, though as temporary storage it proofed itself to be the better solution.

    • @PrafulPrasad
      @PrafulPrasad 3 года назад +1

      @@JariNestel You don't see it scaling into TB/PB region because you have this "feeling" or you some proof/ actual implementation issues?

    • @PrafulPrasad
      @PrafulPrasad 3 года назад +1

      @@JariNestel true but like one of the answers says you can snapshot the data and save its indexes in redis. However that will make it behave like a normal relational database but will solve the problem. Yeah otherwise you're right TBs of ram is unrealistic and undesirable.

    • @ShaneTheKing
      @ShaneTheKing 3 года назад +14

      @@JariNestel Additionally, if you run out of RAM, Redis just starts ejecting data with no regard to its meaning or context. Seems like a pretty terrible primary database, TBH.

    • @KofYam
      @KofYam 3 года назад +3

      @@ShaneTheKing you have full control over what eviction policy is used, which can be disabled all together if you want.

  • @elbojoloco
    @elbojoloco 3 года назад

    Been using Redis for many years, and NEVER did I think to use it for more than just a basic message bus or cache store... Thank you for opening my eyes!

  • @gobzdzilla
    @gobzdzilla 3 года назад +41

    I use Redis as my primary to reduce complexity but I think it's a preference thing. I don't like queries and procedures so it's better for my sanity just to fetch and parse the data.

    • @FunkPianoGrooveMan
      @FunkPianoGrooveMan 3 года назад +3

      Not just preference. Apples, oranges. Google for ACID vs BASE. (right tool) => right job. Also HA/FT is not "
      "guaranteed" by Redis snapshots || "transaction logs" (or even combined) in Redis as opposed to oldskool SQL-like BASE platforms. It is with transaction logs, but takes a hell lot of time to recover. Devil is in the details. (the 101th second and onwards...)
      Check out AWS ElastiCache reference. (yes it's managed, but still) It does however cope with HA/FT via replication in an excellent way! Redis is wonderful for a given set of challenges, "traditional" SQL (or SQL-like) engines are perfect for other types of problems etc.

    • @MrSMGun
      @MrSMGun 2 года назад

      I am contemplating using redis as a primary store but is discouraged by the small amount of people using redis as a primary store. What are the caveats or gotchas involved in this?

    • @gobzdzilla
      @gobzdzilla 2 года назад

      @@MrSMGun it's basically a key-value storage. You can store binary data, strings, lists and sets. It's flat so you have to emulate depth with fake paths in key strings or double keying by making one value a list of id's of other values that are part of a single group.

  • @kalyankumar239
    @kalyankumar239 3 года назад +8

    Thanks for making it in dark background.

  • @pilearn1266
    @pilearn1266 3 года назад +6

    I am using it as a cache memory for news sites; the primary database is PostgreSQL

    • @codeaperture
      @codeaperture 3 года назад

      What is your backend Framework

  • @SweetSummerChildern
    @SweetSummerChildern 3 года назад +58

    I have learnt a lot of new things that I have never worked with from your videos, like AWS, nginx, kubernetes, graphQL(and other dbs), typescript to name a few. One thing that I don't understand is how they work together. I would really love to see a video where you design a mock system using all of these (and possibly more) and explain each of their roles and why you chose it (kinda like your reverse-cloud migration video using raspberry pi).
    Whenever I think of a software architecture I think of them as several layers that interact with each other. However, I am unable to assign which layer what belongs to by watching a stand alone tutorial about a single tool.
    Btw, I am a college senior pursuing CS major and I love your content. Thanks for all the awesome contents.

  • @derfeuerhamster
    @derfeuerhamster 3 года назад +7

    For me personally, the possibility to use Redis as a very easy message broker is more interesting. But as always, your 100 seconds of... videos are awesome!

  • @DavisonIncorp
    @DavisonIncorp 2 года назад +1

    Redis is still somehow one of the most underrated tools on the web

  • @ruanmontelo
    @ruanmontelo 3 года назад +3

    I was lucky enough to have used Redis in my previous job (a bit more than two years) and its awesome. The only problem I see with using Redis is the use of third-party libraries to connect with it.

  • @lucemansster
    @lucemansster 3 года назад +2

    100 seconds of Cassandra / Scylla. Keep up the good work!

  • @daniloespinozapino4865
    @daniloespinozapino4865 2 года назад

    this is the best first approach someone can get to more in depth knowledge

  • @bigwisu
    @bigwisu 3 года назад

    managing Redis at scale is a challenge.. since you mentioned Redislabs, running the database on Redislabs also removes scale headaches!

  • @DannyBPlays
    @DannyBPlays 3 года назад

    You've mastered the youtube viewer attention span. "Redis in 5 minutes" would get very little interest. But a minute and a half? Yeah I can spare that

  • @feritperliare2890
    @feritperliare2890 2 года назад +1

    I implemented using Redis on our backend on a pretty basic level and I will say that it was pretty easy it’s a little tricky sometimes if you wanna filter through data to the user but you can’t argue with how fast it is

  • @danvilela
    @danvilela 3 года назад +5

    I was just studying this! I also read that redis can serve as a pub/sub mechanism replacing your usual queue tech (for example SQS)

  • @mohanm8361
    @mohanm8361 3 года назад +1

    Google Sheet with Sheet API & Google script is the only database I'm ever going to use...

  • @subhaneet
    @subhaneet 3 года назад +1

    I have only used redis to store session and such but this makes me wanna expand upon it. Thank you!!

  • @razakadam74
    @razakadam74 3 года назад

    Now repeat this 100 seconds video 10 more times. I love this channel. Thanks Jeff

  • @himanshurajpal7842
    @himanshurajpal7842 Год назад +1

    Other channel :- "speed up the video"
    Fireship:- "Decrease the speed" 😂

  • @mlindatech
    @mlindatech Год назад

    I like your 100 second video Jeff. I always make sure that I watch your video each day.

  • @zayyarphone
    @zayyarphone 3 года назад

    These short videos are very addictive.

  • @tizio5103
    @tizio5103 3 года назад +3

    I lurve me some Redis. It's been my favorite DB since 2011. However, using it as your primary database is only a good idea when you can afford to lose the last few seconds of data in the event of a container or service failure since write ACKs do not wait for a memory to disk write to complete.

  • @eli-shulga
    @eli-shulga 3 года назад

    Haven't worked with Reddis for a long time. "Reddis as the main db" is an interesting concept..
    Thanks

  • @mrk131324
    @mrk131324 Год назад +10

    I would (and have) use redis as primary database for the application or microservice but would still have a persisting database in the background that could reinstantiate the state to redis if need be.

  • @viewfavorites
    @viewfavorites 3 года назад +17

    I love your 100 seconds stuff!!! 🔥

  • @Lt.WalterTull
    @Lt.WalterTull 2 года назад

    nice straight forward 'no nonsense' video. Thanks a lot for these!

  • @jamesallen74
    @jamesallen74 3 года назад

    My Access Database for my website of 5,000,000 users is just fine thank you.
    Now, off to figure out why people are complaining about it being slow. 😁

  • @THEBEST-lh6pq
    @THEBEST-lh6pq 3 года назад

    Wow never thought of using redis as primary database. Thanks a lot

  • @ganeshdeshmukh8020
    @ganeshdeshmukh8020 3 года назад

    I use "Redis" while talking to FE team and other developers, to "Show off", as I won't tell my friends that I own top varient of Iphone but surely tell them that what 'sekcy' tech I use,
    thanks for making these videos as summarized...

  • @fedepia84
    @fedepia84 3 года назад

    This is the channel every single software engineer need, I thought I knew Redis... now I know that I know nothing

  • @valdemarkjaer
    @valdemarkjaer Год назад

    I would use Redis in “client side apps” as support until the final commit. For example, eletronic health records are extremelly complex and a patient’s single day events involve hundreds or thousands of structured and unstructured data. Having a malleable and simpler “first” line in memory/client hd dbms can help to deal with the persistence design at server side, to reduce data volume exchanges during the process. Won’t use it for big data analytics or to deal with higher data security needs.

  • @soroosha
    @soroosha 3 года назад +2

    haha this video will have caused a lot of people a lot of headache in a few years. No single tool can make your app magically faster. It's about system design and using the right tools in the right places. Stay safe out there

  • @sociocritical
    @sociocritical 3 года назад +3

    If you use Redis as your primary database you probably want it to be durable. By default Redis only fsyncs every second. In conclusion this means you have to configure Redis to fsync to disk synchronously with each request, which will hurt performance significantly or have to tell your application developers that one second of acknowledged writes could be lost.. Redis is also primarily single threaded (I know that Redis forks for snapshots and log rewrites etc. and that there is multi threading since Redis 6 "I/O threading" but this implementation is so bad lets pretend it doesn’t exist…) So if you really want to scale Redis you have to go for a Redis Cluster.

  • @ondskabenselv
    @ondskabenselv 3 года назад

    I love your 100 seconds videos!
    I watch and like them all, hoping to help you beat the RUclips recommendation algorithm and make these wonderful short videos show up as suggested videos for other folks.
    Now have a great day, and keep up the good work!

  • @zhehuizhou
    @zhehuizhou 3 года назад

    Got an email from Redis Lab today featuring this video!

  • @hemantvetal
    @hemantvetal 3 года назад

    Its excellent for syncing the data from your relational database and serving your get requests through it

  • @lorinfortuna1547
    @lorinfortuna1547 3 года назад

    in the last 5 years redis has grown pretty neat. did relational redis on application level with lua scripting on redis in 2015 using a php app :)

  • @davidnguyen9065
    @davidnguyen9065 2 года назад

    Best fucking explanation I've seen on Redis for a very long time

  • @MouhssineElQacimyplus
    @MouhssineElQacimyplus 3 года назад

    have been using redis for Queue tasks without knowing all of this ! thanks for letting me know this

  • @josuegranados6953
    @josuegranados6953 2 года назад

    These kind of videos are what I need when I have to install software as prerequisites for a project and I want to know what they are.

  • @user-fy4iq6if4z
    @user-fy4iq6if4z 3 месяца назад

    I am a beginner in the backend programming field and am about to choose a database system for my portfolio. Redis and MySQL seem quite good.

  • @ganeshbabu6458
    @ganeshbabu6458 3 года назад +20

    We are using Redis primarily for storing data that are often required from backend. Can Redis also be used as a message broker?

    • @Fireship
      @Fireship  3 года назад +24

      Indeed, message broker and kafka-like streams are common use cases.

    • @codeaperture
      @codeaperture 3 года назад +2

      What is your backend Framework

    • @shamashel
      @shamashel 3 года назад

      If you want something similar to SQS but where you can also delete any message by id, RSMQ is a pretty decent nodejs library to make your life easier

  • @jesselima_dev
    @jesselima_dev 3 года назад +1

    Awesome!!!!!!
    The best short explanation about Redis. Good to know about Redis as the primary database is an option on the table (is not a SQL joke but it could be hahaha).
    Depending on the use case can and cost relation it can be really great.
    The Radisson and RedisGraph look very interesting to me.

  • @Chronove
    @Chronove 3 года назад +5

    Too be honest before this video I thought of redis as a fast simple key-value cache... might have to rethink

    • @cloudfox1908
      @cloudfox1908 3 года назад +2

      Same, didn't realize they had extensions like RedisGraph.

    • @gobzdzilla
      @gobzdzilla 3 года назад

      Well technically you're not wrong, but you can do anything with a bit of hash map.

    • @noble.george
      @noble.george 3 года назад

      Key-value store, pub-sub, streams, and all the add ons...

  • @gibigbig
    @gibigbig 3 года назад

    You didnt even touch on redis pub/sub which is by far the best feature.
    Redis saved my project at least 3 times over, when i comes to scaling. Every dev should know how to use this. I cant recommend it enough

  • @calvinrahmat814
    @calvinrahmat814 3 года назад

    Broo I just learn Redis today from bootcamp, then your video just came up 😳😳

  • @MaZe741
    @MaZe741 3 года назад +2

    I see that it's possible to use redis as a primary database, but migrating a legacy system built on a traditional relational database to redis is an absolute no-go.

  • @r2rito654
    @r2rito654 3 года назад

    Has someone else started skipping the video backward at the start? sounds pretty good. Great video btw

  • @brianevans4
    @brianevans4 3 года назад

    I thought I knew redis. But I only knew about the key-value store. Never seen the JSON or Search functionality. Definitely gonna try that after seeing this video. Thanks a lot, and I'd love to see more about redis

  • @ingenarelitems
    @ingenarelitems 7 месяцев назад +10

    this aged well

    • @reyariass
      @reyariass 6 месяцев назад

      Agreed

    • @kairavb
      @kairavb 6 месяцев назад

      what happened?

    • @noredine
      @noredine 4 месяца назад +1

      @@kairavb License shenanigans

  • @jean-olivierjanvier6030
    @jean-olivierjanvier6030 3 года назад

    I would use Redis as a primary database because it is *SUPER* fast.

  • @collinthomas6288
    @collinthomas6288 3 года назад

    I use redis as a primary database. Great for handling tons of concurrent writes and reads.

    • @MrSMGun
      @MrSMGun 2 года назад

      i am thinking of using as a primary database. I did not see a ton of feedback on it's usage on a production env as a primary database. What are some of the caveats or gotchas for using it over a rdbms or mongo?

  • @CorrosionX4
    @CorrosionX4 3 года назад

    Oh damn I was using Redis the traditional way for a long time I didn't know how much it evolved!

  • @JSEvans-or5xe
    @JSEvans-or5xe 3 года назад

    I'd like to see a video on etcd. Not only is it a powerful key-value store, but understanding how it uses the raft algorithm in a cluster is amazing.

  • @HomeCode
    @HomeCode 3 года назад +2

    This has made me pretty excited about a DB. It seems super scary keeping it in memory though!

  • @dimitrisproios1860
    @dimitrisproios1860 3 года назад

    As primary DB no,especially if there is need for strong persistence guarantees ( between ram & disk ), also not sure how easily is it to scale and synchronise across multiple machines / disks . Enterprise DBs eg oracle) sells both very highly priced. For small personal projects everything works, but production systems are not easy to experiment with in small teams .Amazing video though.

  • @window.location
    @window.location 3 года назад +2

    "you will get your answer when you upload damn tutorial" - Bully Maguire

  • @calvint3419
    @calvint3419 3 года назад

    Redis stream is also an awesome feature for realtime applications and realtime analytics.

  • @Priyam_Gupta
    @Priyam_Gupta 3 года назад

    Though you have explained so much but its only brought down to storing key:value pair!

  • @254_Cyrus
    @254_Cyrus 3 года назад +5

    Hey Fireship. I use Redis and love this approach. I love all your content and never miss a video💙. I have a request, could you do one for Rethink DB and probably one about deploying a running container instance. Appreciate it. Thanks for all the content, I have grown as a developer watching your channel ❤️.
    Cheers.

  • @Johnny-tw5pr
    @Johnny-tw5pr 3 года назад +7

    How do you use both a relational database (postgreSQL for example) and redis in the same website?

    • @cloudfox1908
      @cloudfox1908 3 года назад +2

      Depends on what you want to do. But you can write to your cache and database and then check your cache to read values and fallback to your database if it doesn't exist in the cache. You can also batch queries to your database.

    • @Eagle3302PL
      @Eagle3302PL 3 года назад

      I use redis as a cache for stuff I don't want to persist but want my code to have fast access to.
      I use it as a queue and cache for sharing data between our nodes responsible for processing it.
      I also use it to cache results of expensive but fairly frequent queries.

  • @heysuvajit
    @heysuvajit 3 года назад

    From today I will see redis from a different angle

  • @shateq
    @shateq 3 года назад

    I was waiting for this video for long! Thank you Jeff!

  • @faythe03
    @faythe03 3 года назад

    Never thought Redis could serve as a primary DB

  • @FinlayDaG33k
    @FinlayDaG33k 3 года назад

    I would use Redis as primary database in some cases but also not in some other cases.
    It really just depends on the needs for me...

  • @t74devkw
    @t74devkw 3 года назад +2

    Now I know why Redis is always the most wanted technology on those Stack Overflow annual surveys

  • @AlphaFoxDelta
    @AlphaFoxDelta 3 года назад +1

    1:20 did anyone else see that blur?

  • @NexusGamingRadical
    @NexusGamingRadical 2 года назад

    Wow, I was about to integrate redis into my stack to speed up mongodb. But now I'm thinking of dropping the mongodb part.

  • @daleryanaldover6545
    @daleryanaldover6545 3 года назад

    The drawback of using redis is of course, it uses RAM persistently and my goodie ol machine can't handle it. But once you are already setup, it is just so good when on production that it makes me cry.

  • @theabbie3249
    @theabbie3249 3 года назад +3

    Comparing Redis to SQL is like comparing Bicycle to Train, It won't be much useful beyond basic caching and simple models.

  • @frenezif7728
    @frenezif7728 3 года назад

    The other thing are queries, maybe executing searches in redis is harder than in a traditional database engine. Specially when the data set is larger.

  • @ethanlal4517
    @ethanlal4517 3 года назад +1

    Good video. Please make one on JSDocs too.

  • @rajmankar4440
    @rajmankar4440 2 года назад

    Boom so redis can help you get and set data as fast as possible

  • @rohit-gupta
    @rohit-gupta 3 года назад +1

    being persistent is the key. and redis is just crash away from truncate. Only good for caching. managed redis is much more expensive.

    • @imonkai5210
      @imonkai5210 3 года назад

      Are you available for freelance work for startups?

  • @thechargeblade
    @thechargeblade 3 года назад

    I've used redis in production before, the first problem is always "do you need it" it not just fast database as I thought, turned out we didn't need redis.

  • @tudatostrader
    @tudatostrader 2 года назад

    NATS in 100 sec please. Awesome series :)

  • @Akshattheyoutuber
    @Akshattheyoutuber Год назад

    Ultimate explanation in shot period

  • @Maegop88
    @Maegop88 3 года назад +1

    Nice explanation in short time, thanks!

  • @HiMyNameWaffy
    @HiMyNameWaffy 3 года назад +2

    I was literally setting up redis as a session storage yesterday. That's some spooky timing for this video.

  • @mikegavrylov3194
    @mikegavrylov3194 3 года назад

    Some functionality I moved to Postgresql and store data into the unlogged table (create unlogged table if not exists ). If Postgresql will be restarted all data will be lost. But it is OK for my architecture.