Deno KV Is a Game Changer...

  Рет қаралды 20,065

Awesome

Awesome

Күн бұрын

A first look at Deno KV.
💬 Topics:
- Working with Deno;
- Deno deploy;
- Deno KV;
- ACID and Transactions;
#deno

Пікірлер: 64
@cholst1
@cholst1 Жыл бұрын
Played around with it a bit locally, pretty neat indeed
@dyto2287
@dyto2287 Жыл бұрын
I got a feeling that JS devs will go on a hypetrain for any old tech.
@awesome-coding
@awesome-coding Жыл бұрын
Haha! It is old tech, but integrations are becoming easier by the day. For instance, sure, I can use Redis, but is there a service which allows me to deploy and scale all that automatically?
@TechBuddy_
@TechBuddy_ Жыл бұрын
Kinda. I have used foundation db before and is not the same experience if you set it up manually. You should take care of the connections, data storage, distribution and shit which is not pleasant to say the least EDIT: Deno KV is just there ready for you to use which automatically scales to your needs
@dyto2287
@dyto2287 Жыл бұрын
@@awesome-coding Auto-scaling most KVs solutions existed for ages.
@awesome-coding
@awesome-coding Жыл бұрын
@@TechBuddy_ Exactly!
@TechBuddy_
@TechBuddy_ Жыл бұрын
@@dyto2287 Yes they do but distributed auto scaling is different. Your data is stored where your users are but something like redis exists in one region only. Yes distributed data stores exist too like turso but they are not part of the runtime
@whoeverseesthatbehappy2722
@whoeverseesthatbehappy2722 Жыл бұрын
I don't see a reason for allowing a vendor lock. All this "edge" and "serverless" stuff is just a very clever commercial made by cloud/hardware providers. That "ease" will cost you 10 times more in future, compared to classical "own servers cluster + devops specialist to set up all the automation".😊
@leftyhero147
@leftyhero147 Жыл бұрын
I was looking for a video about this subject yesterday 😅 Very informative indeed, I'm excited to see what ppl will build with KV.
@awesome-coding
@awesome-coding Жыл бұрын
Ha! Good timing!
@mikeeomega
@mikeeomega Жыл бұрын
Deno seems to be amazing... Have you also tried Workers or Workers KV in any manner?
@awesome-coding
@awesome-coding Жыл бұрын
I did not played around with Workers yet, but it might be a good subject for a future video! ✌️
@pookiepats
@pookiepats 18 күн бұрын
it is so unclear still, some say it is prod some say it primary db others say no only cookies, session mgmt, small data...then the docs say the least of all, storage capacity?I DUNNO. Rate limits? I DUNNO. backups story? I DUNNO
@rizhuljanuar1618
@rizhuljanuar1618 Жыл бұрын
explanation about bun js😄
@awesome-coding
@awesome-coding Жыл бұрын
Will do soon!
@ashish_prajapati_tr
@ashish_prajapati_tr Жыл бұрын
Helping you to break KZbin algorithm
@awesome-coding
@awesome-coding Жыл бұрын
Thank you! I really appreciate it!
@ashish_prajapati_tr
@ashish_prajapati_tr Жыл бұрын
@@awesome-coding yaa
@L0wPressure
@L0wPressure Жыл бұрын
I saw it earlier in the Dahl's speech. Still don't get, what's the benefit compared to Redis for example?
@awesome-coding
@awesome-coding Жыл бұрын
The main difference that comes to mind is that KV has first class support in the Deno language and in Deno deploy. It is a solution maintained by the actual Deno team, so you can always expect a seamless integration in the ecosystem.
@L0wPressure
@L0wPressure Жыл бұрын
@@awesome-coding yeah, that's obviously good. If we use Deno in prod, that KV storage will be used for sure.
@JLarky
@JLarky Жыл бұрын
Nice 👍
@awesome-coding
@awesome-coding Жыл бұрын
Thanks!
@SRG-Learn-Code
@SRG-Learn-Code Жыл бұрын
I sqw the demo in jsconf, trully amazing. How does the data looks in the filesystem? How do you backup the data? Are any tools (maybe too soon for that)? I'm sold on this.
@awesome-coding
@awesome-coding Жыл бұрын
I believe KV is already available in Deno Deploy as a closed beta. I expect they'll provide backup tools in that interface for certain since regular backups and redundancy are prerequisites for production environments. I think we are just a couple of months away from getting full access to this!
@Mitsunee_
@Mitsunee_ Жыл бұрын
it's kind of confusing seeing only the first line of imports. I'm looking at like 5 functions here that I have zero context for, so the code may as well be obfuscated assembly :\
@awesome-coding
@awesome-coding Жыл бұрын
Thanks for the feedback! I'm trying to squeeze as much as possible in a single view as possible, but I get it might be confusing. I'll fix it in the next videos!
@gdmk1000
@gdmk1000 Жыл бұрын
ry said they'll add queues as well.
@gdmk1000
@gdmk1000 Жыл бұрын
won't be surprised if they'll add a websockets service... lots of things
@awesome-coding
@awesome-coding Жыл бұрын
Yep... the options are infinite. Deno is going to be an amazing platform!
@justafreak15able
@justafreak15able Жыл бұрын
wait, what is that? 1:47 why are you writing await like that? my ocd will not let me do that.
@awesome-coding
@awesome-coding Жыл бұрын
Sometimes I like to see the world burn...
@thedelanyo
@thedelanyo Жыл бұрын
I guess it can be used in a JS repo
@ClariNerd
@ClariNerd Жыл бұрын
I mean, if you want to keep living in the past, sure. What are you, a FinTech CTO? Next you’ll tell me you build brand new micro services in Java 7.
@awesome-coding
@awesome-coding Жыл бұрын
Wait.. what's wrong with Java 7?!
@ClariNerd
@ClariNerd Жыл бұрын
@@awesome-coding it isn’t Java that’s the problem, it’s fintech.
@motoboy6666
@motoboy6666 Жыл бұрын
There are new game changers every week … 😢
@awesome-coding
@awesome-coding Жыл бұрын
😅✌️
@ollegio
@ollegio Жыл бұрын
Ever heard of redis?
@awesome-coding
@awesome-coding Жыл бұрын
I've heard of the color Red if that helps 😅
@danko95bgd
@danko95bgd Жыл бұрын
no it won't
@awesome-coding
@awesome-coding Жыл бұрын
noted 😅
@DogeMultiverse
@DogeMultiverse Жыл бұрын
Too much code
@awesome-coding
@awesome-coding Жыл бұрын
You might be right. Thanks for the feedback!
@rory_christensen
@rory_christensen Жыл бұрын
I disagree! The code kept me here.
@darthwalsh1
@darthwalsh1 11 ай бұрын
I don't think KV is a real replacement for firestore database; i really like building SPA where the browser talks directly to the database. Then i don't need any app server at all!
@awesome-coding
@awesome-coding 11 ай бұрын
You are right, it is not a replacement, but it is a really nice convenience!
@yusril-ihsanul-alim
@yusril-ihsanul-alim Жыл бұрын
what makes cloudflare and deno so different, for example cloudflare pages, what is so beneficial by using deno? call database locally?
@awesome-coding
@awesome-coding Жыл бұрын
Hey! I think the main benefit is an integrated system. You don't only have the cloud environment with Deno, but seamless integration with a database AND access to the Deno language and all the Deno packages.
@namaefumei
@namaefumei Жыл бұрын
I see you took our advice. Nice one! Lately everyone is trying to make a new database for some reason.
@awesome-coding
@awesome-coding Жыл бұрын
Thank you for the help and your suggestions! They are always welcomed!
@YuriG03042
@YuriG03042 Жыл бұрын
Databases are a field that didn't have a lot of competition, but a lot of room for profit. There is a lot of competition now for several different cases, which is amazing for us Developers.
@heroe1486
@heroe1486 Жыл бұрын
"new"
@nulanfr5940
@nulanfr5940 Жыл бұрын
Cant wait
@weaslie
@weaslie Жыл бұрын
nice vid :) But why does your highlighting flicker so much (at around 01:00)?
@awesome-coding
@awesome-coding Жыл бұрын
Thanks! That's vscode being weird - whenever I'm typing it believes I'm going to use those unused imports :)
@SunPodder
@SunPodder Жыл бұрын
I don't understand why does a interpreter (that's what i would call it. if it's more than that they should've delivered a ONLY interpreter as the core of the runtime) needs to have a kv?
@awesome-coding
@awesome-coding Жыл бұрын
Because the Deno Runtime is just one small piece of the Deno platform offering. When you consider Deno Deploy and running at the edge support, a storage solution would actually make sense.
@IvanRandomDude
@IvanRandomDude Жыл бұрын
Web Dev is on a course to become the easiest thing on the planet (not that it is was ever that hard anyway). You don't need to know anything anymore, just use bunch of services as black box and voila. In few years a monkey with 6 months of training will be able to do it.
@awesome-coding
@awesome-coding Жыл бұрын
Haha! Monkey see monkey do is how I got through 15 years of development!
@heroe1486
@heroe1486 Жыл бұрын
It was already the case with rails + heroku and those "bunch of services" years ago. The difference is when you need to understand your stack when unique problem arrives, if you're trying to do something a little bit different or even when those services become too limiting or vendor lock you. That's ultimately the difference between someone who doesn't know what he's doing and someone who does, otherwise you could already use Back end as a service solutions and "website builders" for the frontend or even just use those builders for everything and accept the limitations. This whole JS ecosystem thing is a shitshow tho, people are just getting excited about things that existed long before, but I guess that's also emphasized by the social media effect, this KZbinr for example saw the announcement and decided it was "a game changer", next time he'll see a new JS framework, spend an hour playing with the hello example of the README and call it "the Framework we have all been waiting for", that's KZbin for you, it's just not worth watching tbh.
The Easiest Way to Store Data
4:29
Awesome
Рет қаралды 19 М.
Web Dev The Right Way
12:35
Awesome
Рет қаралды 20 М.
Nastya and balloon challenge
00:23
Nastya
Рет қаралды 64 МЛН
А ВЫ ЛЮБИТЕ ШКОЛУ?? #shorts
00:20
Паша Осадчий
Рет қаралды 9 МЛН
Крутой фокус + секрет! #shorts
00:10
Роман Magic
Рет қаралды 18 МЛН
Officer Rabbit is so bad. He made Luffy deaf. #funny #supersiblings #comedy
00:18
Funny superhero siblings
Рет қаралды 5 МЛН
Deno Queues | Prime Reacts
13:47
ThePrimeTime
Рет қаралды 33 М.
From Node.js to Deno: How It All Began
9:12
Honeypot
Рет қаралды 23 М.
Node.js is a serious thing now… (2023)
8:18
Code With Ryan
Рет қаралды 649 М.
The Simplest Tech Stack
9:38
Awesome
Рет қаралды 117 М.
Why I’m Switching To Go in 2024
8:10
Awesome
Рет қаралды 63 М.
"What to know about Deno 2.0"
25:55
Deno
Рет қаралды 13 М.
Deno 2.0 - Ryan Dahl, Node Congress 2023
30:55
JavaScript Conferences by GitNation
Рет қаралды 9 М.
TypeScript The Right Way
8:22
Awesome
Рет қаралды 20 М.
Luca Casonato @DenoFest Tokyo: "The state of Fresh"
15:30
Nastya and balloon challenge
00:23
Nastya
Рет қаралды 64 МЛН