This is a pretty crazy offer from Redis Enterprise Cloud… $200 in free credits, plus someone is gonna win a Tesla 🏎️ redis.info/fireship200
@Fayazix2 жыл бұрын
Watership
@SimplyFizz2 жыл бұрын
lavaship
@ultimaxkom87282 жыл бұрын
Loveship
@ZikoNFS2 жыл бұрын
Does Redis Cloud has serverless functions and a graphql integration?
@flamepotatoes2 жыл бұрын
Will the credit expired if I'm not using it? I've already claim the coupon, but I need to rewrite my app database model tho
@stoef2 жыл бұрын
One might think that he made a mistake when he said we add an entry with key 'hello' and value 'world' but acutally showed 'hi' 'mom'. This is actually just to show that his mom means the world to him
@JM-st1le2 жыл бұрын
Wow
@larrykipkemoi6958 Жыл бұрын
It's not that deep
@orterves Жыл бұрын
@@larrykipkemoi6958his post today suggests it was
@epixru Жыл бұрын
His mom just died and confirmed this easter egg
@heanz2 жыл бұрын
i love this guy, but i hate that there is so cool tech out there i don't know
@notyournormaldev14192 жыл бұрын
Then you don't know many things
@KimSpielt2 жыл бұрын
Lol i feel That
@mitejmadan86722 жыл бұрын
Actually that's the best part of software industry. There is so much to learn.
@Brunoenribeiro2 жыл бұрын
yeah right? sometimes it's a little anxiety-inducing 😅
@heanz2 жыл бұрын
@@Brunoenribeiro but when you start learning it you are so hyped and happy :D
@Im_Ninooo2 жыл бұрын
I think we need a "gRPC explained in 100 seconds" video! I couldn't find any quick and straight to the point video anywhere :( Thanks! [edit: fixed typos]
@OfficialAdarshHegde2 жыл бұрын
+1 would love this too
@arwahsapi2 жыл бұрын
Second this!
@newtonmunene2 жыл бұрын
+1
@krishgarg28062 жыл бұрын
lmao I like how you wrote the edit message like a commit message
@nil74442 жыл бұрын
The FormData approach was something I'll be using for sure starting today. Pretty cool tip
@arcticape4452 жыл бұрын
Timestamp?
@rand0mtv6602 жыл бұрын
@@arcticape445 Starting roughly from 8:00
@Omniwoof2 жыл бұрын
It reminded me of Django,
@StEvUgnIn2 жыл бұрын
Guess I'm not the only one
@guyroyse2 жыл бұрын
Thanks for featuring my library. I'm bracing for impact!
@thelitterateman2 жыл бұрын
😶 fr?
@guyroyse2 жыл бұрын
@@thelitterateman Yup.
@VincentJenks Жыл бұрын
redis-om rocks!
@ThePhilosoft2 жыл бұрын
But redis is still ultimately single-threaded application. How does modules solve this issue? The more complex the load, the slower it becomes. Sure, it can handle dozens of thousands (hundreds even) get/set requests but what will happen with this complex stuff (search/json etc)? Another point - persistence. To use redis as *primary db* persistence is a must (otherwise what is the point of DB if simple reboot will wipe everything out). Enter AOF/RDB, which dramatically increases requirements for RAM and slows things down (because storage is now involved) Wanna scale? Enter replication / cluster with tradeoffs of their own Wanna do it all yourself? That's pretty complex stuff right there and requires ops expertise. Wanna use json/search/bloom/etc modules? Welcome to redis cloud Using DB in the cloud? Yeaaah, very good idea to go from your backend to different DC for primary data or (even better) cache..... Redis is great, but it's far from "one size fits all" solution especially for "primary DB" role
@alishahrose20762 жыл бұрын
Thank you for pointing these "catches"
@assorium2 жыл бұрын
Exactly. The cloud is just pointless, you lose all the speed you gained by ping and network bottleneck.
@anuragbapat22222 жыл бұрын
Finally someone who has used Redis in a production environment! Only when you design a large scale infrastructure, you realise these "Hello world" tutorials teach you nothing.
@TheAndre21312 жыл бұрын
I don't think he's saying you SHOULD use redis as a primary DB. All he's saying is you CAN, assuming you're prepared for the consequences.
@31redorange082 жыл бұрын
@@TheAndre2131 No, he's talking about it like it's the best technology. All modern databases work in-memory, that's why they are hungry for RAM.
@NovaSaputra2 жыл бұрын
not only database, RedisStream can be used for Event Driven Architecture. maybe for your next video? ;-)
@uziboozy45402 жыл бұрын
You should definitely not use Redis for event driven architecture...
@crockz0r2 жыл бұрын
@@uziboozy4540 yeah. redis will not keep your messages if consumers arent online
@jasonbourne4852 жыл бұрын
@@crockz0r On the subscriptions page it shows that the pricier plans support data persistence. Would that not solve the problem?
@crockz0r2 жыл бұрын
@@jasonbourne485 maybe but i'm not sure
@Voidstroyer2 жыл бұрын
@@jasonbourne485 why pay when there are free alternatives designed specifically for those things such as apache kafka and rabbitMQ?
@yingmahasintunan45582 жыл бұрын
Just incase anyone else is getting a 500 with an error of 'this.writeEntity is not a function'. In redis.js, change out: From: const repository = new Repository(schema, client); To: const repository = client.fetchRepository(schema);
@mfpears2 жыл бұрын
I don't think this addresses most concerns developers would have with using this as a database instead of a relational database.
@bart95222 жыл бұрын
It's completely ridiculous as every developer will understand. But hey, at least they put out their marketing video.
@biro22002 жыл бұрын
Absolutely reckless from this content creator to not even provide a disclaimer that you cannot in a real production system depend on an in memory db as the primary solution. Absolute garbage.
@mfpears2 жыл бұрын
@@biro2200 lol
@RichardWagenknecht2 жыл бұрын
Absolutely. If you’ve ever had the displeasure of working on a system that required a relational database but instead was stuffed into something like redis you know how garbage this is.
@isanyoneelseheretoday2 жыл бұрын
lol your profile pic is on point
@me-manikanta2 жыл бұрын
Coincidentally I’ve had a funny conversation with my colleague in the morning arguing about whether or not redis can be used as persistent storage. I’ll share this video with him now 😂
@Eliassausaur2 жыл бұрын
Maybe if you are super rich
@kabirchawla43252 жыл бұрын
Coincidentally, I was struggling with algolia for my app because of my limited funds.
@31redorange082 жыл бұрын
WTF? RTFM!
@guillaume56232 жыл бұрын
@@kabirchawla4325 I still think algolia is a better service to plug and code than redis that change your infrastructure code
@mming_my2 жыл бұрын
yes but it can't compete with other more mature solutions :P
@cyborgamish2 жыл бұрын
Nice video, as always. I don't think it answers the question, though. My preconception about Redis is that it will not handle storing large amount of data with complex relations. The amount of data and complexity is relative, but when building a new project, forward-thinking is important. Will it scale well ( cost effectively ) ?
@guillemgarcia36302 жыл бұрын
Probably not. Just look at how expensive redis memory is compared to a traditional db. Also, you deal with non persistence because of in memory db, and others. It's nice to be promoted to show how to write an app like this, but you're lying to now a million people if you don't mention the downsides. Remember fireship is really good at editing videos and explaining programming in general, not necessarily at running things at scale.
@Denominus2 жыл бұрын
Redis does offer a way to scale horizontally (memory) with Redis clustering. However, there is no way to run clustered Redis without the risk of data loss.
@bigmistqke2 жыл бұрын
@@guillemgarcia3630 wdym w 'non-persistence because of in-memory db'?
@after_alec2 жыл бұрын
@@bigmistqke Probably because in-memory db gets cleaned up when the environment it's in the memory of shuts down or cycles like any other in-memory data store and you're another skip away from actual persistence with Redis Cloud, presumably you're pushing data back from the in-memory store to wherever Redis Cloud is hosted
@praveenjaisankar89242 жыл бұрын
@@bigmistqke basically it means the data stored in redis is volatile because redis runs on RAM of the system
@biro22002 жыл бұрын
The video title is very scary. You put a bold claim to replace classical on disk memory databases with an in memory database as a primary solution. I sincerely hope no less experienced engineers follow this reckless claim that you have not even bothered to provide a disclaimer with. Absolute garbage content.
@brianevans42 жыл бұрын
Most applications don't have enough data to require mongo for storage, and actually would work with redis
@RisalFajar2 жыл бұрын
but when the app scales, what would happen?
@edgarasben2 жыл бұрын
What are the Redis limits?
@specy_2 жыл бұрын
@@edgarasben storage amount, literal only issue, your storage is RAM and you also need to persistently store that storage somewhere, so it loses the point of being a main database
@edgarasben2 жыл бұрын
@@specy_ but what's the actual storage limit? Maybe that's enough for certain projects with certain data requirements. As I can see from docs, it can handle up to 4.3B keys per instance (in practice handling 250M keys per instance). And every has can hold up to 4.3B elements. For me this sounds more than enough for most medium web projects.
@specy_2 жыл бұрын
@@edgarasben yes but...u need the storage for that, and storage us ram which is hyper expensive. The free tier from the video is a mere 30MB, you can maybe store some very basic login user data but that's it
@funoism2 жыл бұрын
Great video as always. I would love to see a video on how to develop and deploy your own npm package.
@Brunoenribeiro2 жыл бұрын
with typescript, if possible 🙏
@AnimusAgent2 жыл бұрын
@@Brunoenribeiro and angular if possible, enough of react, lets get back to old fireship
@ruffyg14332 жыл бұрын
@@AnimusAgent React > Angular
@vincent-thomas2 жыл бұрын
@@ruffyg1433 no Angular > React
@everythingisfine99882 жыл бұрын
Svelte 💪
@grahampcharles2 жыл бұрын
Would love to see these projects developed in Typescript. I've lost my taste for raw js with no Intellisense or type checking.
@BitcoinJake092 жыл бұрын
First learned about REDIS in like 2016 and its been my fav db
@Nowbie2 жыл бұрын
I'm wondering about scaling redis, with a lot of data the cost will be way higher than a normal MySQL database? since it uses the machine ram
@Nitr4Oo2 жыл бұрын
Why do you think not any big project actually use Redis as a primary database ? This video is just marketing and pure lies. You cannot scale with such system, disk drive memory cost way less than ram and nowadays we are at the ssd nvme technology where the disk drive speed won't really be the bottleneck anyway. + Ram can be corrupted by bit flushing..
@WalterWoshid2 жыл бұрын
Can you explain how indexes work? Thanks!!! Love your vids
@markokraljevic15902 жыл бұрын
yes, but what about relations between models?
@krishnachaithanya28412 жыл бұрын
Well if data is the volatile part of the memory, I wouldn't wanna store data in RAM. If it's persistent how is it different from sql Or noSql
@Fireship2 жыл бұрын
Redis also persists to the disk so it can be rebuilt to RAM when the db is restarted.
@oskrm2 жыл бұрын
Redis can dumb data to disk at intervals that you choose. Also, after an x amount of changes.
@thetrends56702 жыл бұрын
hi mom = hello world
@PeterPCardenas2 жыл бұрын
This seems like an ad for redis cloud.. If so, could you please put #ad or #sponsored somewhere? I love the content, just wish this was a bit more transparent
@Fireship2 жыл бұрын
It's flagged as sponsored on YT. Also I mention that about 1 min into the video.
@raphaels85852 жыл бұрын
How cost efficient is Redis? There's a lot of info on tech features, but I have yet to find a comprehensive analysis of different database solutions. At the end of the day, choosing a database is a business decision, so I really wish the monetary aspect was more developed
@joopie466142 жыл бұрын
The way nextjs handles connections I think is very bad. Constantly reconnecting to the database is going to cause a lot of overhead and cold starts if your app does not have sufficient traffic or nextjs feels like invalidating the session. This is what turned me off from using nextjs.
@igorordecha2 жыл бұрын
Reminds me of php
@CardinalHijack2 жыл бұрын
Is there a way to cut Redis Enterprise Cloud out of this if you have just your own database? I assume I could some how get all my databse entries and store them in redis and then query the redis store in the same way some how? Is that viable?
@Fireship2 жыл бұрын
Yes, I would recommend using docker to run locally. This image has everything you need, then deploy wherever you want hub.docker.com/r/redislabs/redismod
@CardinalHijack2 жыл бұрын
@@Fireship Thanks very much for this. So does this mean I could populate my redis store from say my own postgres database and then just query the redis store in the same way you did?
@KomodoSound2 жыл бұрын
this is an ad masquerading as a tutorial... I guess we all need to eat but it is disappointing coming from a channel that usually uploads quality content. Before stumbling on this video, I've actually just looked into the Redis Enterprise product earlier today and its pricing. While I believe they make interesting products, it looks like it would be a bad idea to use them for a small project or a small business, and even their name suggests they are aiming at large organizations. I don't mind this channel showing sponsored content, as long as it is presented clearly as such, and as long as it is not spreading misleading information that will waste the time of developers.
@christianmingle33942 жыл бұрын
they have a free tier for anyone who wants to use it, so its not like you cant mess around with it. and the tutorial doesnt force you to buy it, its just here for giving information.
@edgarasben2 жыл бұрын
I love Next.JS and this is one of the best video from this channel! Can't wait to try the Redis DB approach!
@apppeajepro71392 жыл бұрын
Anyone getting error - ReplyError: Car:index: no such index ?
@Denominus2 жыл бұрын
This video promotes the idea that Redis is fine to use when you need consistency and safety, it is NOT. It's really important to understand that in all of Redis' high availability modes, some data loss is normal. There are ways to mitigate that to some degree (not completely!), but they sacrifice Redis' performance gains. RedisRaft is working to improve this, but it is not production ready.
@ilaydev212 жыл бұрын
I legit watch this just for fun. I don't even use redis nor nextjs.
@adomasvensas4612 жыл бұрын
This man will singlehandedly make me write not "Hello World!" but "hi mom" programs.
@mathiashaugsb71002 жыл бұрын
Pretty useless video regarding the question if Redis can actually be used as the only database
@erezamiti222 жыл бұрын
This might be faster, but much more expensive to companies since RAM is much more expensive then disc memory
@arpanpatel5680 Жыл бұрын
sorry for your loss. now I see how you put easter eggs for your mom 🙂
@gobzdzilla2 жыл бұрын
If you can handle it Redis is pretty fucking awesome.
@cooltune2 жыл бұрын
can these features be ran locally and be cloudless? mainly talking about the full text search stuff. It sure looks nice, but way back in 2011 they were reminding us devs this was NOT A DATABASE. That’s why I never bothered using this… I mean why use this when in-memory caching was usually already baked in to the language you were using.
@Flash1362 жыл бұрын
Hi, mom!
@parpar80902 жыл бұрын
Looks like he's spying on my google searches again 😂! (Fireship, you're awesome thank you for making videos the exact time I need them 😀 I think I know what you're gonna upload next hehe)
@manasnagelia2 жыл бұрын
Video ideas: - Redis with MongoDB - Redis with MySQL - Using Redis Graph
@ThomHemenway2 жыл бұрын
This would be perfect for a startup or MVP. Long term you'll want to use a specific DB for the particular use case.
@TheStrategistYT2 жыл бұрын
Did you see that there is a BootStrap 5?
@desprint4452 жыл бұрын
clear and very fast paced, wouldnt want it any other way from fireship, 10/10 content
@adicide90702 жыл бұрын
you define a CLASS??? a CLASS???
@ankushyadav71792 жыл бұрын
Hello world === hello mom ✨
@KHALIL_AMINE2 жыл бұрын
If i want to create an app. Which database should i use for accounts and user statistics for example. ??
@RobertoOrtis Жыл бұрын
Redis is excellent for caching and for non-important data. For everything else, please use a RDS
@RiwenX2 жыл бұрын
Thanks for the free credits, I was just gonna get started with Redis cloud anyway.
@luishenriquepuhl73512 жыл бұрын
Whats up with the 'my first car' being a 'Brazilian_Honda_Civic_touring_2017_'? Just spotting some random stuff to comment about.
@chungleee2 жыл бұрын
oh wow the chance to win a tesla is actually real 🤣 i thought he was just joking
@alhamed012 жыл бұрын
It's a crazy offer, and the best thing is no credit card and there is a free tier. Thank you, Jeff, and the awesome people at Redis. I hope that I'll win that Tesla.
@mehrdad-ai2 жыл бұрын
Hey, Doesn't passing form.entries() to the create method of the Redis introduce any vulnerability?
@igorordecha2 жыл бұрын
Probably, if you don't have schema validation on the backend. The user could easily change field names in html and it all would be stored in redis
@maysminecraft2 жыл бұрын
Amazing content, I’d love to see more like this. I’d also like to see you do bigger apps over multiple videos.
@EmmanuelNgwandu2 жыл бұрын
That form trick is really 😎, thanks a lot fireship. Can you do pgRest in 100 seconds
@FranciscoMarcosMilhomemAbreu2 жыл бұрын
My friend, you are a galactic level awesome person! Thank you very much for this content!
@arcrimeaball2 жыл бұрын
It's facinating that Redis evolved from a simple cache store to a fully multimodal database! But when you use Redis as primary DB not only it will make you app fast, but also your credits lose rate on AWS, because Memcache is very expensive 🔥
@ken67372 жыл бұрын
*redis sveltekit* content please
@giladgd2 жыл бұрын
Please do more Redis content
@marcello42582 жыл бұрын
I'll never get why you'd use JS on the backend. Someone maybe explain this to me please?
@abhilashr8382 жыл бұрын
@3 min you said key can have multiple data type. Is it correct? Isn't it value that can have multiple data type
@turokII2 жыл бұрын
This is fantastic, thank you! I'm curious to try out the Redis time-series module as well, maybe that could go in your list of future video ideas? Thanks a lot for the credits too
@tusharbhattacharya62152 жыл бұрын
Great video. Would love to see more content about redis and socket and next js
@Omerko2 жыл бұрын
Really nice tutorial, but there is just too much for it, this video could easily be break down into multiple videos, or even one longer, ot would be easier to follow along... But still, great one.. 😁
@sichadeb2 жыл бұрын
He writes "hi mom" in his example but narrates saying "hello world". this is because his mom is his world
@depression_plusplus61209 ай бұрын
I mean sure...if company can allot money to use redis as a full blown database...im all in...easy to speak
@ajadavis20002 жыл бұрын
thx u
@pneujai2 жыл бұрын
not only does google read my search history, but u also spy them! i just started learning redis yesterday
@michaelsd282 жыл бұрын
i wouldn't recommend redis cloud since i tried it and i had to wait like 5 seconds to retrieve data while locally was instant
@aleksandarstevanovic58542 жыл бұрын
8:19 thanks for this one!!
@ysink2 жыл бұрын
awesome video! By the way, what vscode icon theme do you use?
@knniff52942 жыл бұрын
It would be cool if you could go more into why/when someone should use this over more specialized or other solutions with the same features.
@sgtrumbi22652 жыл бұрын
mom = world? :)
@ChemistTea2 жыл бұрын
Can I use Redis for free (without subscription or upgrades) where I have it write/read from local JSON files? **Edit: without Redis Cloud
@user-qr4jf4tv2x Жыл бұрын
i'd like to think redis is over engineered ... at least apache can split there stacks up
@gradyrobbins27702 жыл бұрын
Free subscriptions do not support data persistence; the setting is disabled entirely
@Jatinjay-JAM Жыл бұрын
Can somebody give me some idea that I can build with redis 100mb database free plan just learning but want to make something interesting 🧐
@alainportant64129 ай бұрын
a rape database
@ngochunglongnguyen45232 жыл бұрын
does Redis save your data in RAM? What if your server runs out of RAM?
@PierreLebrunAnthony2 жыл бұрын
I love this full stack redis content... Gotta give this a try on my next project!
@atordvairn2 жыл бұрын
YES YES YES!!!!!!! next.js with a DATABASE and that too REDDIS!!!!!!!!
@TheCasseth2 жыл бұрын
Please more Next.js content ASAP!!! Great video
@pirxie11272 жыл бұрын
3:00 one of the best summarize of data structures I have seen so far.
@lionardo2 жыл бұрын
is there a way to reference the entry from another key? menu = {"name": "tortilla", "cost": 12} e.g. key truck = { "name": "burrito king", menu: [reference to menu] }
@rogercolque2 жыл бұрын
Hello. thanks for sharing this content. for a webscraping web app i was told to add redis. am I on the right path? Please share some information or tutorial on how Redis and webscraping would work. P.S: my thesis bachellor project is: a web app scraping job boards.
@huakun2 жыл бұрын
Can you talk about blockchain database?
@marcsarfati1332 жыл бұрын
First comment on KZbin ever. I had to say this is probably the highest quality tutorial / walk-through I've seen Thanks a lot Jeff for the work, we are deeply grateful
@IncomingLegend2 жыл бұрын
is this your 1st time on the internet?
@alainportant64129 ай бұрын
lmao this is so fucking incomprehensible
@timurbas57132 жыл бұрын
"Let's add a key of Hello and a value of World" *adds value of mom* :D
@影音閒樂館2 жыл бұрын
I want to know whether I can use these modules in docker or locally
@karsongrady2 жыл бұрын
Awesome video and I love you are getting sponsors. Your content is so good, it is a win win!
@atanasdulev2 жыл бұрын
I saw all positive things about redis, but what are the downsides? I suppose slow initialization to read everything back up in memory? What happens if the database shuts down, since it is in memory?
@dave41482 жыл бұрын
Obviously sponsored because there’s no mention of all the downsides that make this ultimately a bad idea.
@christianmingle33942 жыл бұрын
anyone who would be wanting to use it to the extent that the downsides would come into play should already know the downsides, this is just a lighthearted video about redis, and they have a free tier so you can mess around with it.
@valkhorn2 жыл бұрын
Except there will always be a need to have relational databases especially when you deal with large organized data.
@CardinalHijack2 жыл бұрын
So does this basically mean Redis Enterprise Cloud is storing the values in a database, and then updating an in memory redis store with these values which is what is searched? How would you set this up yourself with say postgres and redis for example?
@akam99192 жыл бұрын
Hi mom.
@anujme32 жыл бұрын
JSON seriously changed data storage by being its own db structure. But yeah RAM is actually more expensive than disk. So make sure you research extensively if you want that trade off.
@zeroxiph2 жыл бұрын
I get his error in redisinsight Unsupported encryption strategy
@liquividy2 жыл бұрын
you didn't talk about ACID compliancy?
@saggitt2 жыл бұрын
Does anybody have experience using Redis persistence and search with millions of records or more? And maybe around 100 operations per second or more?
@munapadhi87232 жыл бұрын
now i can understand how 100sec is important in life. If I spend a 100 sec per day in your tutorial then i will learn so many things. thanks for you hard work.
@nguyenne212 жыл бұрын
Awesome work! By the way could I ask how you configure your formatter to format on save making that tidy format not each method call each line. I use prettier :")