My fiance left me about a month ago during the hardest time of my life. I let myself be sad for a day then decided I want to work on my purpose which is to become a front-end developer. So far I bought your HTML and CSS course which is phenomenal. Once done going to buy your JavaScript then react course. Thank you so much, you courses have helped through this dark time and I know there is a light at the end of the tunnel!
@TraversyMedia5 жыл бұрын
morenokv sorry to hear that friend. Im glad i could help give you something to get your mind off it 😉
@Frazer2275 жыл бұрын
Im so sorry man, but these things can happen. I hope you get through all right. Just remember, there are still people out there that love you. By the way, (At the moment) there are plenty of fish in the sea (not if we keep global warming up though) and you'll find the perfect match one day! I hope you make it through!
@GameMasters8255 жыл бұрын
Bro theres a lot of people out there dont stay dow, i bougth all courses of Brad, i told you worth it, but after all courses you need make your own projects, wich you will really learn code, dont miss your faith
@suyasrivastv5 жыл бұрын
there are lot of people who dont have a fiance so cheer up
@zuzukouzina-original5 жыл бұрын
I think you should be thankful to her. She saved you from wasting you with miserable time. You’re unchained now come on dude. There are plenty women out there, but don’t look for Kardashians kind of women, but hard working women who knows the value of life.
@UnknownEntity606 Жыл бұрын
All these years later, this video still stands as a simple introduction to redis. It's instructive and straight to the point. Thanks for the quality content.
@rgonzy2124 Жыл бұрын
thanks, I'm hesitant to watch it and saw that the date is 4yrs ago. but I saw this reply and watch it anyway.
@pavlovicjosip5 жыл бұрын
Yesterday i was like thinking "hmm how should i implement cache in node.js?" and of course when i get home from the work, you uploaded this video. Thank you Brad, you are the best ! :)
@charliebewsey68725 жыл бұрын
Just bought your udemy course after watching a couple of your free videos - I've been really impressed with you as a teacher, I hope that the money you get from doing this stuff justifies the time you must spend doing this! It's a real pleasure to support you, I'm sure I'll be buying your javascript course next!
@srcmake5 жыл бұрын
Amazing video as usual, Brad. Your example server was concise and showed exactly what was needed to demo redis. And honestly, I didn't think to use middleware to check for the cached result and end the response early. That's a 200 IQ play. (I probably would have put the cache check in the same endpoint right before making the fetch call, which is clearly suboptimal.) Thanks for the video! I really learned quite a bit, and I've interviewed with some big companies that do use Redis so it is an important skill.
@sam_mitschiro5 жыл бұрын
As someone who uses redis in production, both as a queue and cache, i can confirm that redis is powerful.
@colonizatorgg59604 жыл бұрын
hey, can you give your github?
@freddyhaug93793 жыл бұрын
This is such a well done video, you can watch in in 2x speed and complete understand everything. Someone can watch this and become a fullstack developer in 7 minutes
@yitzchaksviridyuk9324 жыл бұрын
Went through 3 of your Redis videos today. Crash course, user management app, and just finished this video. Gotta say it's helped a lot. I keep saying this, but thanks again for the video!
@zvuk5 жыл бұрын
This is not a video that i need, but still ... i let it play, and give it a like and comment this just to support you. This channel deserves it. I do not do such things on any other channel.
@markmansur92685 жыл бұрын
I was literally wondering how to do EXACTLY this a few days ago for my mobile app backend. Thanks again Brad!
@codicts51495 жыл бұрын
Hope you still there. I just want to say thank you! you've inspired me to create my own channel.
@sam-jm1vb5 жыл бұрын
got my sub!
@TraversyMedia5 жыл бұрын
Awesome...keep at it
@TraversyMedia5 жыл бұрын
Love the beats. Real hip hop, not that trap stuff
@codicts51495 жыл бұрын
@@TraversyMedia Thanks for replying. I definitely will!
@MrGreenpaulo5 жыл бұрын
@@TraversyMedia if you like those beats Brad you might like this - kzbin.info/www/bejne/o6KndaeBZquErJY
@Melvin420x124 жыл бұрын
I come from your videos out 2017 and wow the change in videoquality is insane! You've made huge progress
@maagu-_-4 жыл бұрын
I cannot thank you enough for these courses/lessons. You are a phenomenal teacher, Brad! These KZbin lessons led me to your Udemy courses which I'm happily buying. Keep it up 😀
@alibarznji20003 жыл бұрын
You're a big help, anytime I want to learn something new, you come to the rescue. Thanks
@codesmart90445 жыл бұрын
perfect timing with perfect to the point clear cut explanation ... if you are not in youtube maybe i never doing software development. thanks man... great help from you as always.
@vaibhavnadgonde43975 жыл бұрын
Always pleasure watching your videos. thx again brad
@tomosterlund64974 жыл бұрын
Thank you Sir! Always thought that caching was something really tricky, until now. Managed to push down waiting time on a few of my slowest requests with ~40-50%, in production, in the project I'm working on right now :)
@klarnorbert4 жыл бұрын
It's tricky, if you write a library yourself. Js community is so big, there's a solution for everything.
@Mar24315 жыл бұрын
Thanks again Brad for this quick course on Redis Caching. I've just recently finished your Udemy course React Front To Back 2019 it was perfect! You provide great learning resources and tutorials to this community of web developers. Thank you!!!
@KanaanBahmaniBuilds5 жыл бұрын
Thank you Brad you always upload things that people need the most, with the best timing. Thank you my man, you're a great man.
@johnnycakez27505 жыл бұрын
Currently working through the express section of your react front to back course, this is a neat little bonus. I don't know how you do it but your timing is always perfect!
@sharad_19924 жыл бұрын
Thanks for the quick overview of redis. I like the network part in the video. It really defines the benefits of redis cache.
@ecommerceuk5 жыл бұрын
Excellent tutorial. Concise and totally aligns with the title. Strangely, 7 people have hit the thumb down. Is there another country where thumb down means good? No other obvious explanation.
@CoryTheSimmons5 жыл бұрын
Really great tutorial. Short, simple, explained the concept well enough to get me really interested in learning more.
@Battery641215 жыл бұрын
Excellent video. You have a good way of breaking technologies into simple practical parts that I can immediately see using in the real world. I thought getting started with Redis would be so much more complicated!
@josedejesuslopezdiaz5 жыл бұрын
tu eres uno de esos canales de programacion de los que veo publicidad a proposito por que me gusta tu contenido. talves no entiendes lo que te digo pero te lo queria decir.
@alvin_lal4 жыл бұрын
This is the perfect example for a redis beginner
@dev-qq2vy5 жыл бұрын
Redis becomes very easy to understand with your presentation. Thanks.
@saranshmamtakhetarpaul67985 жыл бұрын
Thank you so much for giving a much clearer picture of Redis :)
@haroldcrane15955 жыл бұрын
You read my mind!! Just started learning redis yesterday. thanks bro!
@TraversyMedia5 жыл бұрын
Line 6 should be process.env.REDIS_PORT .........Brain fart 😊
@Ambass0015 жыл бұрын
You are amazing Brad 💪
@Luxcium5 жыл бұрын
and what about line 15 hardcoding the 5000🤨 but line 16 using ${PORT}🧐 ... ??? 🤣😜 too much brain farts lead to code smell 🤭🙊💩
@royhonders5 жыл бұрын
You should pin this
@dilsmatchanov5 жыл бұрын
also why the fuck did you declare the port variable if you listen on 5000 port anyway?
@arpee13375 жыл бұрын
@@dilsmatchanov Nothing works better than dropping a "fuck" inside a question to create empathy and show you're a great person 👍🏼
@PrashanthPuranik3 жыл бұрын
Thanks Brad for the great intro to using Redis with Node. I noticed small typo at 5:28 - it should have been something like process.env.REDIS_PORT || 6379 and not process.env.PORT || 6379. Wanted to document here as a comment for welfare of anyone setting up a PORT environment variable only and wondering why the script wouldn't run. EDIT ------- Also app.listen( PORT, ... ) would be required.
@AmitYadav-el5wg3 жыл бұрын
Awesome tutorial, i think one of the best tutorial on redis in node. Thank you 😊
@indiansoftwareengineer48995 жыл бұрын
Thanks, I loved your channel. but I haven't finished with the video, but before that I gave like and then started.
@augustinekanyi5 жыл бұрын
aah Mr Brad! nice to watch your videos in the afternoon!
@yonatandawit81123 жыл бұрын
Comprehensive and neat tutorial 👏
@causecaos5 жыл бұрын
Awesome stuff, I have always kept away from Redis but this is something else. Thanks, Brad
@jorkhachatryan3175 жыл бұрын
Hello Brad, you are my hero-instructor, because you always creating very useful content at right time(for me). Will be great to see Kubernetes course. Thank you very much you're the best!!!!
@nandinaulfaldy91322 жыл бұрын
Thanks your course and everything is always helping me, can't wait to buy your next course
@khalidelgazzar Жыл бұрын
Superb tutorial. Short & sweet. Thank you!
@zuhrulanam59713 жыл бұрын
Woahhh. Thanks for this gold tutorial, very clear and understand
@sleeptil32 жыл бұрын
FYI if you're getting the node-fetch ES Module error its because newer node-fetch only supports import. You can either downgrade node-fetch to 2.6.1 to use require() or add "type": "module" to the package.json and use 'import' (for everything) instead of 'require'
@ShivaKumar-st9ps2 жыл бұрын
You may not needed node-fetch anymore. In the latest version of Node.js (18.0.0), global fetch (experimental) is enabled by default.
@JKaromo5 жыл бұрын
Much love from Kenya.... Love your content.
@bwanamaina5 жыл бұрын
👌🖒
@smsibasish5 жыл бұрын
Exactly what I was looking for. Thanks brad :)
@hroland5 жыл бұрын
Was just watching your 2017 tutorial when I spotted you uploaded an updated one! :) Much appreciated!
@surajdutta57304 жыл бұрын
Awesome tutorial. Just what I wanted to learn today 👏
@NicoAntoniw5 жыл бұрын
Hey brad, could you make a video about a node.js headless cms ??
@TraversyMedia5 жыл бұрын
Yes definitely at some point
@ashiqsultanmohamed97655 жыл бұрын
Please make one, a tutorial on Strapi will be great.
@talalnajam86925 жыл бұрын
I can't believe how you make programming look so simple and understandable. Excellent video as always :)
@HackerWulf5 жыл бұрын
Love this tutorial. Easily explained! Thank you.
@usmankhan-tm2iw4 жыл бұрын
Thanks. You made redis so easy.
@SuperJAIMISH4 жыл бұрын
Simple and concise! Great tutorial.
@gabrielobafisile22992 жыл бұрын
Thanks Brad. You rock the dev
@umamaheshmeka10325 жыл бұрын
Nice one brad, thanks for making it look so easy. by the way I had to do `redis-server` first and then `redis-cli` in my Mac Mojave.
@locksfamily5 жыл бұрын
Timely as hell dude. Thanks!
@tingtingzhou95085 жыл бұрын
Such a useful video! looking forward to more!
@atmospheric_b5 жыл бұрын
Yes! Thats one exactly what i needed! Thanks Brad!
@AdarshMadrecha5 жыл бұрын
Thanks for such awesome videos. It helps a lot.
@larissarosa58635 жыл бұрын
As always, a greate video! Thank you very much! I was able to apply pretty much everything with Python. Awesome.
@andrejtacigin6975 жыл бұрын
hey Brad, quite often the job applications look for AWS/S3 knowledge. I tried looking for your tutorials on it, but couldn't find anything. Hoping you can make one when you catch the time. thank you!
@bodolawale54485 жыл бұрын
Awesome video brad
@arunprabu74763 жыл бұрын
Very neat & nice tutorial, This is what exactly i was looking for... :-)
@viniciusse14 жыл бұрын
Dude, awesome video. Congrats.
@mosesegboh Жыл бұрын
Hello I am getting the error: err happenedTypeError: client.setex is not a function
@dolevdo Жыл бұрын
as well
@Александр-н4н9ъ5 жыл бұрын
Спасибо большое вам, очень помогли, все понятно и быстро!) Thank you :)
@subratarudra2745 Жыл бұрын
Nice explanation🔥
@pankaj_99983 жыл бұрын
As always very useful. Thanks
@happinin3 жыл бұрын
could you please give us a video explaining how redis is used with socket.io and node.js to make websockets more efficient and scalable, and how this process is done? would really appreciate it. also what are the disadvantages to running socket.io naked without redis?
@ChhaihongSRUN5 жыл бұрын
Hey Brad! Please, make more videos about Redis.
@aniketfadia73283 жыл бұрын
Thank you for this video! Keep going, mate! :)
@sasg879625 жыл бұрын
Thank you, that was easy to understand .. thanks again
@rounaksengupta19202 жыл бұрын
Nice video to learn in depth
@kavindesivalli4 жыл бұрын
Great Video... I have a doubt. what if the number of repositories of the user has changed?
@josesanchezquintana77205 жыл бұрын
Thank you, I would try enhance my project in NOSQL with your videos
@marccawood5 жыл бұрын
You reload attempts around 13:00 resulted in 304 response status so you’re hitting a cache.
@lukehero5 жыл бұрын
Would love to see something like multiple user sessions with this.
@Ghaleon4 жыл бұрын
Hi ! What font do you use? it's rounded and so nice to my eyes
@mayur98765 жыл бұрын
What if the repo number changed it will still display the cached value. What is the way around ?
@oussemaessafi97545 жыл бұрын
i think redis will delete the cache every 3600 seconds
@AbdullahAyoola Жыл бұрын
Because I'm on windows, I had to follow the docs for the installation. Also I created a redis config file in my code where I imported the redis package and instantiated it using the createClient passing in the port from the env variable. And then exported the client variable that has been assigned to the createClient for reuse in other places in my code. But it doesn't work for me
@yashtibrewal42594 жыл бұрын
Informative, Thank you. Just one question, I like your speed to code while you are explaining, so how many years of coding experience do you have (non-industry and industry)?
@alaindimabuyo5 жыл бұрын
love this kind of new stuff
@Qwerter14105 жыл бұрын
Great video!
@MERNStack4 жыл бұрын
yes it seems so useful and fast up the site
@eugenevedensky60715 жыл бұрын
Interesting! So this is coaching implemented on an api layer using redis. Now, is it viable to implement a similar strategy using local/session storage in the client if user data remains relatively unchanged throughout the day?
@Geomaverick1245 жыл бұрын
I think i may implement Redis in one of my portfolio projects once they are finished. Would you suggest Redis for CRUD apps or Fullstack apps or just for client websites...When do you think adding Redis can become over kill?
@nidhishetty12255 жыл бұрын
Thank you so much for sharing your knowledge:-)
@neenus5 жыл бұрын
Brad as always very informative easy to understand tutorial .... my one question to you and is definitely off topic... but I love how your browser new tab starts with this customized page and I've created something similar to it but couldn't figure out how to customize my chrome browser to start with it would you mind sharing how you did it! it seems like you're using Chrome browser if it is how did you customize the new tab to start like that I couldn't find anything in the settings that lets new tab start with a customized page?? thank you!!
@sachin__ak4 жыл бұрын
what happens if the count of repo changes? will it return the same cache value or will it return the updated value?
@desi-musk5 жыл бұрын
super helpful.. thanks brad
@BhaskarSivaraj Жыл бұрын
Its very helpful. Thank you
@Frazer2275 жыл бұрын
Hey, have you ever thought about using Java, C# (.NET or like ASP.NET) or C++ for web development before, and/or making a youtube vid/udemy course on one? If not, I would be thrilled for you to make a course on one of them... EDIT: Maybe even like Go (Google main language), I'd just like to see you (and I) go out of your comfort zone and make some different than usual content, and maybe even help some people dealing with these languages -Long time watcher/lurker, first time commenter
@vittoriodeluca52335 жыл бұрын
Awesome video Brad. What about making a NginX or varnish video?
@emreozgun38463 жыл бұрын
hey this is probably a stupid question but what about the cost of calling that cache() function and setting that redis cache ? vs optimizing network requests ? can someone explain the tradeoff ? or is there even a tradeoff in the first place..
@elyu_vibes4 жыл бұрын
How can I return the data or store in a variable instead of returning as response?
@xenizs91123 жыл бұрын
the cache is only in memory? what if you need to access that data across different servers?
@divyagowda8364 жыл бұрын
Hey Brad, one question on redis is which all calls we should usually cache. I'm building a LMS and planning to use redis so is it good idea to cache all api calls or just courses related api? Any insight is very much helpful.
@AniltonNeto5 жыл бұрын
Why do you've port as variable if you never use it?
@hashamalam39365 жыл бұрын
Good question, although he didn't use it to listen for listening to http socket, he did use it when he console.log() the port
@mjjply5 жыл бұрын
@@hashamalam3936 lol i thought that was weird too!
@ShivaKumar-st9ps2 жыл бұрын
return Promise.reject(new errors_1.ClientClosedError()); ^ ClientClosedError: The client is closed This error comes when i reach upto caching....12:00 help please
@promiseihunna47142 жыл бұрын
Did you find a solution to this? Same thing is happening to me as I type.
@subratarudra2745 Жыл бұрын
Instead of this: const client = redis.createClient(REDIS_PORT); Use this: const client = redis.createClient({ legacyMode: true, PORT: REDIS_PORT, });
@vibrancydevelopers.94208 ай бұрын
@@promiseihunna4714 use client.connect()
@ВладимирГолубь-э6ы5 жыл бұрын
Does the package redis for node create database or just client for it ?
@MaziSaidSo4 жыл бұрын
What if the value changes, how would know and update the cache accordingly
@yuvrajagarkar89423 жыл бұрын
so do we deploy this as normal nodejs app ? or has some extra steps?
@bicanmarianvaleriu54005 жыл бұрын
Based on your experience for server caching a node app, do you recommend lru-cache or this method ?