Deno KV Is a Game Changer...

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 ธ.ค. 2024

ความคิดเห็น • 64

  • @leftyhero147
    @leftyhero147 ปีที่แล้ว +5

    I was looking for a video about this subject yesterday 😅
    Very informative indeed, I'm excited to see what ppl will build with KV.

  • @namaefumei
    @namaefumei ปีที่แล้ว +3

    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"

  • @cholst1
    @cholst1 ปีที่แล้ว +2

    Played around with it a bit locally, pretty neat indeed

  • @mikeeomega
    @mikeeomega ปีที่แล้ว +2

    Deno seems to be amazing... Have you also tried Workers or Workers KV in any manner?

    • @awesome-coding
      @awesome-coding  ปีที่แล้ว +1

      I did not played around with Workers yet, but it might be a good subject for a future video! ✌️

  • @yusril-ihsanul-alim
    @yusril-ihsanul-alim ปีที่แล้ว +1

    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  ปีที่แล้ว +1

      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.

  • @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.

  • @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 :)

  • @dyto2287
    @dyto2287 ปีที่แล้ว +23

    I got a feeling that JS devs will go on a hypetrain for any old tech.

    • @awesome-coding
      @awesome-coding  ปีที่แล้ว +5

      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_ ปีที่แล้ว +4

      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 ปีที่แล้ว +4

      @@awesome-coding Auto-scaling most KVs solutions existed for ages.

    • @awesome-coding
      @awesome-coding  ปีที่แล้ว +1

      @@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 ปีที่แล้ว +6

    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".😊

  • @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!

  • @nulanfr5940
    @nulanfr5940 ปีที่แล้ว +1

    Cant wait

  • @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!

  • @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  ปีที่แล้ว +1

      Sometimes I like to see the world burn...

  • @pookiepats
    @pookiepats 3 หลายเดือนก่อน

    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

  • @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!

  • @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  ปีที่แล้ว +2

      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.

  • @JLarky
    @JLarky ปีที่แล้ว

    Nice 👍

  • @ashish_prajapati_tr
    @ashish_prajapati_tr ปีที่แล้ว

    Helping you to break TH-cam algorithm

  • @ollegio
    @ollegio ปีที่แล้ว

    Ever heard of redis?

    • @awesome-coding
      @awesome-coding  ปีที่แล้ว

      I've heard of the color Red if that helps 😅

  • @thedelanyo
    @thedelanyo ปีที่แล้ว

    I guess it can be used in a JS repo

    • @ClariNerd
      @ClariNerd ปีที่แล้ว +1

      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.

  • @rizhuljanuar1618
    @rizhuljanuar1618 ปีที่แล้ว

    explanation about bun js😄

  • @darthwalsh1
    @darthwalsh1 ปีที่แล้ว

    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  ปีที่แล้ว

      You are right, it is not a replacement, but it is a really nice convenience!

  • @motoboy6666
    @motoboy6666 ปีที่แล้ว

    There are new game changers every week … 😢

  • @IvanRandomDude
    @IvanRandomDude ปีที่แล้ว +1

    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  ปีที่แล้ว +1

      Haha! Monkey see monkey do is how I got through 15 years of development!

    • @heroe1486
      @heroe1486 ปีที่แล้ว +2

      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 TH-camr 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 TH-cam for you, it's just not worth watching tbh.

  • @danko95bgd
    @danko95bgd ปีที่แล้ว

    no it won't

  • @DogeMultiverse
    @DogeMultiverse ปีที่แล้ว +1

    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.