Redis In-Memory Database Crash Course

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

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
@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
@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!
@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. 🥰🥰🥰
@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!
@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.
@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
@CodingNuggets
@CodingNuggets 3 жыл бұрын
Thanks for this. I've been needing a refresher. Appreciate you Hussein. See you soon!
@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!
@Zolo00
@Zolo00 3 жыл бұрын
Hussein you are the man! I recommend all my coworkers to your channel.
@hnasr
@hnasr 3 жыл бұрын
Much appreciated !!! Thanks
@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.
@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 🇲🇽
@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.
@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
@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.
@tech3425
@tech3425 Жыл бұрын
Good starter video. Would love more coolish stuff from redis :)
@bijeesraj007
@bijeesraj007 3 жыл бұрын
Am I the only one hit like button then watch ? You earned my trust
@hnasr
@hnasr 3 жыл бұрын
❤️❤️❤️❤️
@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.
@romantsyupryk3009
@romantsyupryk3009 3 жыл бұрын
Thanks very much for this video.
@ajcwhite
@ajcwhite 3 жыл бұрын
Perfect timing!
@yogeshchaudhary621
@yogeshchaudhary621 Жыл бұрын
God level explanation!
@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?
@kapilsonyt
@kapilsonyt 3 жыл бұрын
Thank you so much sir.
@joshualoew8976
@joshualoew8976 2 жыл бұрын
Thanks!
@Dimich1993
@Dimich1993 2 жыл бұрын
splendid🤗
@SadgeZoomer
@SadgeZoomer 3 жыл бұрын
shukran gazilan
@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
@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.
@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 24 күн бұрын
You can learn them by yourself. Hussein himself has courses for both db & os fundamentals.
@BhaaRaThh
@BhaaRaThh Жыл бұрын
Do you know what to explain in part 2
@cj8tacos123
@cj8tacos123 3 жыл бұрын
i was just watching the old redis video lol
@mithunchopda
@mithunchopda 2 жыл бұрын
Hey! Hussain. How about collaborating on building an Http based Database? 😎
@Callmedstone
@Callmedstone 3 жыл бұрын
My god, I want to do blow with this guy and see what genius startup we come up with
@ProgrammingLinguist
@ProgrammingLinguist 2 жыл бұрын
I think couchdb uses http as the protocol
@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.
@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..
@kayeshparvez
@kayeshparvez 2 жыл бұрын
why are we calling pub-sub instead of queue ?
@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.
@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
@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
@menzeus4293
@menzeus4293 2 жыл бұрын
you babble too much of unnecessary things and diverted from the topic so many times
@izureki
@izureki Жыл бұрын
Memcached Architecture - Crash Course with Docker, Telnet, NodeJS
1:04:51
WebRTC Crash Course
1:10:06
Hussein Nasser
Рет қаралды 219 М.
Must-have gadget for every toilet! 🤩 #gadget
00:27
GiGaZoom
Рет қаралды 4,4 МЛН
TRY NOT TO LAUGH 😂
00:56
Feinxy
Рет қаралды 16 МЛН
She ruined my dominos! 😭 Cool train tool helps me #gadget
00:40
Go Gizmo!
Рет қаралды 54 МЛН
🌊Насколько Глубокий Океан ? #shorts
00:42
Redis as a Primary DB using a .NET 6 API
2:21:21
Les Jackson
Рет қаралды 68 М.
Column vs Row Oriented Databases Explained
34:16
Hussein Nasser
Рет қаралды 73 М.
Adding a cache is not as simple as it may seem...
13:29
Dreams of Code
Рет қаралды 104 М.
Redis is Dead Long live Redis!
48:34
Redis
Рет қаралды 32 М.
Apache Kafka Crash Course
1:18:06
Hussein Nasser
Рет қаралды 414 М.
RabbitMQ Crash Course
42:53
Hussein Nasser
Рет қаралды 197 М.
No-Nonsense Backend Engineering Roadmap
10:16
Codebagel
Рет қаралды 167 М.
What Happens When Redis Runs Out of Memory
14:03
Redis
Рет қаралды 19 М.
ТОП-5 культовых телефонов‼️
1:00
Pedant.ru
Рет қаралды 19 М.
Мечта Каждого Геймера
0:59
ЖЕЛЕЗНЫЙ КОРОЛЬ
Рет қаралды 1,6 МЛН