Redis In-Memory Database Crash Course

  Рет қаралды 54,401

Hussein Nasser

Hussein Nasser

Күн бұрын

Redis is a noSQL key-value store, in memory database first that exploded in popularity in the past few years. In this video slash course, we will explain what Redis is, talk about the in-memory model, the optional durability, replication, clustering publish subscribe and the protocol and finally we will go through examples. During the video I will add time codes to each topic so you guys can jump to the topic that interests you the most.
Download Slides here
payhip.com/b/rOlJ
(Members get all slides for free. Become a Member to support the channel)
/ @hnasr
0:00 Intro
0:30 Why Redis became the most popular Database
12:20 Redis Crash Course
Table of Content and TimeCodes
Commands
Docker run --name redis -p 6379:6379 redis
docker exec -it rdb redis-cli
🎙️Listen to the Backend Engineering Podcast
husseinnasser.com/podcast
🏭 Backend Engineering Videos
backend.husseinnasser.com
💾 Database Engineering Videos
• Database Engineering
🏰 Load Balancing and Proxies Videos
• Proxies
🏛️ Software Archtiecture Videos
• Software Architecture
📩 Messaging Systems
• Message Queues & PubSu...
Become a Member
/ @hnasr
Support me on PayPal
bit.ly/33ENps4
Join our Thriving Backend Community on Discord
/ discord
Stay Awesome,
Hussein

Пікірлер: 69
@hnasr
@hnasr 3 жыл бұрын
Learn the fundamentals of database systems to understand and build performant backend apps Check out my udemy Introduction to Database Engineering husseinnasser.com/courses
@surbhipaliwal879
@surbhipaliwal879 2 жыл бұрын
Hello Nasser, your content is brilliant and the way you talk and present tops it. Its like having a coffee table discussion with you about a topic(my role being a good listener). I leant a lot of concepts at its core. I have been looking for a content like this for long. Big thanks man!
@1realseth1
@1realseth1 2 жыл бұрын
I did not have seen that many tutorials/crash course as good as yours to follow!😁 for me it was perfect. Entertaining and still got all the Infos I wanted/needed. Thank you! Keep on!
@redhood7105
@redhood7105 3 жыл бұрын
You are the sole reason I concurred my fear of backend/servers and now am I actually half decent backend developer
@metabolic_jam
@metabolic_jam 2 жыл бұрын
*conquered. But congrats
@Zolo00
@Zolo00 3 жыл бұрын
Hussein you are the man! I recommend all my coworkers to your channel.
@hnasr
@hnasr 3 жыл бұрын
Much appreciated !!! Thanks
@coding_ss632
@coding_ss632 3 жыл бұрын
This video is done, waiting for part-2 of the crash course. Where you'll give examples of clustering & replication with redis. 🥰🥰🥰
@dennysam829
@dennysam829 3 жыл бұрын
The only KZbinr who asks you to skip to the content you love so that you don't waste your time, instead of increasing his watch time!
@djole010
@djole010 3 ай бұрын
Great video, very infomative, I love your style. Here are my 2 cents about HTTP vs TCP: If I was designing a DBMS I would also use TCP. HTTP uses TCP in the background. TCP keeps permanently open socket connection, whereas HTTP closes the socket connection after each request/response cycle, and that adds overhead to communication. Also with TCP you can have just as much security as with HTTP with TLS, since it's the same underlying principle.
@ricardoislasruiz3186
@ricardoislasruiz3186 3 жыл бұрын
Man you are the best! I cannot believe that you don't have a million subscribers! I love your work and I have learned a lot of it! Thank you so much! Greetings from Mexico
@hnasr
@hnasr 3 жыл бұрын
Thank you Ricardo! ❤️ love to all my subs from beautiful Mexico 🇲🇽
@SpotAllen
@SpotAllen 3 жыл бұрын
I know this is off topic. One thing I love about Hussein's manner of speaking, is that he doesn't sound weird at 1.5x speed, which is very rare. :)
@kellysmith7357
@kellysmith7357 2 жыл бұрын
yeayea
@snehotoshbanerjee1938
@snehotoshbanerjee1938 2 жыл бұрын
Great video Hussein. The first in-memory database I worked on a couple of years back was TimesTen. We usually use this along with the main Oracle DB for caching aggregates. You can sync data, mostly aggregates for faster reporting defaulted to that particular aggregation hierarchy.
@snghnishant
@snghnishant 3 жыл бұрын
You made Redis like a piece of cake to understand. Great video now I am going to learn Redis also.
@rajeevsinha7884
@rajeevsinha7884 2 жыл бұрын
Hello Mr. Nasser, Your way of presenting the topic is really awesome and way different than typical lecturing, I loved the content and listening the videos. lot of regards from India.
@CodingNuggets
@CodingNuggets 3 жыл бұрын
Thanks for this. I've been needing a refresher. Appreciate you Hussein. See you soon!
@isaacfrost9798
@isaacfrost9798 3 жыл бұрын
Hussein thanks a lot I learned a lot from you. Baraka laho fik.
@coding_ss632
@coding_ss632 3 жыл бұрын
You're my favourite tech KZbinr. You honestly deserve more than a million subscribers. Thank you for putting out such a good content. More power to you.
@tech3425
@tech3425 Жыл бұрын
Good starter video. Would love more coolish stuff from redis :)
@yogeshchaudhary621
@yogeshchaudhary621 Жыл бұрын
God level explanation!
@avi12
@avi12 3 жыл бұрын
3:34 In Latin, "per cent" means "out of hundred" So people commonly write it as one word Credit to Eddie Woo
@bijeesraj007
@bijeesraj007 3 жыл бұрын
Am I the only one hit like button then watch ? You earned my trust
@hnasr
@hnasr 3 жыл бұрын
❤️❤️❤️❤️
@ajcwhite
@ajcwhite 3 жыл бұрын
Perfect timing!
@indiansoftwareengineer4899
@indiansoftwareengineer4899 3 жыл бұрын
I have upcoming interview at big unicorn startup and I have to complete take home assignment which has redis implementation, I will update you after passing it.... love you sir.
@harshrai6259
@harshrai6259 3 жыл бұрын
How is it going?
@joshualoew8976
@joshualoew8976 2 жыл бұрын
Thanks!
@romantsyupryk3009
@romantsyupryk3009 3 жыл бұрын
Thanks very much for this video.
@mishasawangwan6652
@mishasawangwan6652 3 жыл бұрын
redis is simple to install, configure and use , with sdk s available for all major programming languages and good performance out of the box. it’s no surprises we all love it.
@Dimich1993
@Dimich1993 2 жыл бұрын
splendid🤗
@kapilsonyt
@kapilsonyt 3 жыл бұрын
Thank you so much sir.
@justafreak15able
@justafreak15able 3 жыл бұрын
So you can use Redis as your primary DB? No caveats?
@kfc-enjoyer-based
@kfc-enjoyer-based 3 жыл бұрын
You can use the arrow keys to navigate between previous commands or use !! to get the prev command
@hnasr
@hnasr 3 жыл бұрын
Great tip!!! Thanks
@SadgeZoomer
@SadgeZoomer 3 жыл бұрын
shukran gazilan
@Callmedstone
@Callmedstone 3 жыл бұрын
My god, I want to do blow with this guy and see what genius startup we come up with
@luisribeiro5639
@luisribeiro5639 7 ай бұрын
Imagine, REDIS with non volatile memory, like the future ReRAM as your storage.....the perfect match, Millions of Rps on a commodity server. Everybody will choose REDIS and the infrastructure will be simplier (no more cache all in non volatile memory accessible in sub millisecond). For me, REDIS with ReRAM is the futur. No need of Snapshop or AOF, no care about the size of the memory, the dream.
@fahadaldhafairi2322
@fahadaldhafairi2322 3 жыл бұрын
Good Job. If it possible Do Memcached with Node.js or PHP
@avatsavirs
@avatsavirs 3 жыл бұрын
28:00 TCP and HTTP aren't competing protocols. TCP is a transport layer protocol and HTTP is an application layer protocol. In fact HTTP uses TCP in transport layer.
@ladmerc
@ladmerc 3 жыл бұрын
I think he didn't insinuate that they're competing. As you mentioned, HTTP is built on top of TCP so there's always going to be some overhead when using HTTP instead of TCP. For example, HTTP would parse headers, format of data etc I think what he's curious about is if these overheads outweigh the benefits of using HTTP
@muhaimintaib
@muhaimintaib 3 жыл бұрын
@@ladmerc agreed. He’s just wondering why most other databases (not all) are creating their own protocol on top of raw TCP (this is what Redis does), instead of just using the new HTTP/2 where you can keep the TCP connection open and streams requests back and forth. Using QUIC (soon to be HTTP/3) is also an option.
@BhaaRaThh
@BhaaRaThh Жыл бұрын
Do you know what to explain in part 2
@ProgrammingLinguist
@ProgrammingLinguist 2 жыл бұрын
I think couchdb uses http as the protocol
@ProJS-wj4xh
@ProJS-wj4xh 3 жыл бұрын
I think single is best for system need fast response but multi needed in task need time like data anlize and data Science or Processing video or images and i think non block single thrid like nodejs its gorgeous..
@ProJS-wj4xh
@ProJS-wj4xh 3 жыл бұрын
At the end of the day nodejs use multi at the behind of the seen.. but its still single 😂😂. like javascript its not single thrid language but in browser it is.. and new we can use multi in browser
@ProJS-wj4xh
@ProJS-wj4xh 3 жыл бұрын
it called web workers..
@mithunchopda
@mithunchopda 2 жыл бұрын
Hey! Hussain. How about collaborating on building an Http based Database? 😎
@cj8tacos123
@cj8tacos123 3 жыл бұрын
i was just watching the old redis video lol
@Technicalgogi
@Technicalgogi 4 ай бұрын
hi, Hussein i have a question and it will not take long to answer so, plesase answer it question: just after completing high school i had purchased a web development course and learned a lot. After some 3-4 months i endup with a job. It is now 4 months of job. at this point i am enjoying and also learning a lot from nice gurus like you. But i want to go more deeper into computer science like how operating systems, db systems, cpu executes instructions works, do i need to join college to learn all these stuffs or i can learn by my own by joining some good community, opensource, reading book etc.
@omar-senpaiii
@omar-senpaiii 29 күн бұрын
You can learn them by yourself. Hussein himself has courses for both db & os fundamentals.
@re1nth98
@re1nth98 2 жыл бұрын
Doesn't Http use tcp? You are comparing an application layer with transport layer. I guess Resp and Http are comparable. Correct me if wrong.
@sachinghait3723
@sachinghait3723 3 жыл бұрын
@hussain you can append ?sub_confirmation=1 in channel link on your website, it will ask if user wants to subscribe in a pop-up
@kayeshparvez
@kayeshparvez 3 жыл бұрын
why are we calling pub-sub instead of queue ?
@Luxcium
@Luxcium 3 жыл бұрын
What about streams ?
@mohamedhabas7391
@mohamedhabas7391 3 жыл бұрын
They are quite trikey , I have been hunting for a way to deal with them , the only approach I found is people using custom data frames and processing them as a sequence of json strings. I wish if someone is familiar with dealing with streams would give his/her opinion
@Luxcium
@Luxcium 3 жыл бұрын
@@mohamedhabas7391 the few videos I have looked are examples of how to use them but no real use case the video are with Salvatore Sanfilippo himself (2 years ago) he does it quickly in vim in front of us but not only he is well prepared but we can imagine that he knows intrinsically what he is talking about
@menzeus4293
@menzeus4293 2 жыл бұрын
you babble too much of unnecessary things and diverted from the topic so many times
@izureki
@izureki Жыл бұрын
Redis Crash Course
27:31
Web Dev Simplified
Рет қаралды 599 М.
Cassandra Database Crash Course
19:48
Code with Irtiza
Рет қаралды 26 М.
Tom & Jerry !! 😂😂
00:59
Tibo InShape
Рет қаралды 49 МЛН
Homemade Professional Spy Trick To Unlock A Phone 🔍
00:55
Crafty Champions
Рет қаралды 56 МЛН
Climbing to 18M Subscribers 🎉
00:32
Matt Larose
Рет қаралды 35 МЛН
Adding a cache is not as simple as it may seem...
13:29
Dreams of Code
Рет қаралды 104 М.
Memcached Architecture - Crash Course with Docker, Telnet, NodeJS
1:04:51
What Happens When Redis Runs Out of Memory
14:03
Redis
Рет қаралды 20 М.
WebRTC Crash Course
1:10:06
Hussein Nasser
Рет қаралды 220 М.
Redis is Dead Long live Redis!
48:34
Redis
Рет қаралды 32 М.
Redis Crash Course
1:23:37
Piyush Garg
Рет қаралды 102 М.
GraphQL Crash Course
57:24
Hussein Nasser
Рет қаралды 30 М.
Неразрушаемый смартфон
1:00
Status
Рет қаралды 1,6 МЛН
Cadiz smart lock official account unlocks the aesthetics of returning home
0:30
APPLE совершила РЕВОЛЮЦИЮ!
0:39
ÉЖИ АКСЁНОВ
Рет қаралды 3,6 МЛН