Build A Rust-Powered Journaling App (with Upstash Redis)

Поділитися
Вставка
  • Опубліковано 12 лют 2023
  • A real-world example of integrating the Redis-rs crate into your Rust project. We leverage the free tier of the serverless, Redis compatible data store Upstash to facilitate this integration!
    Thanks to Upstash for sponsoring this video! upstash.com/
    Please join the CTTM Discord server / discord
    ---
    Camera: Canon EOS R5 amzn.to/3CCrxzl
    Monitor: Dell U4914DW 49in amzn.to/3MJV1jx
    Keyboard: Keychron Q1 amzn.to/3YkJNrB
    SSD for Video Editing: VectoTech Rapid 8TB amzn.to/3hXz9TM
    Microphone 1: Rode NT1-A amzn.to/3vWM4gL
    Microphone 2: Seinheiser 416 amzn.to/3Fkti60
    Microphone Interface: Focusrite Clarett+ 2Pre amzn.to/3J5dy7S
    Tripod: JOBY GorillaPod 5K amzn.to/3JaPxMA
    Mouse: Razer DeathAdder amzn.to/3J9fYCf
    Computer: 2021 Macbook Pro amzn.to/3J7FXtW
    Lens: Canon RF24mm F1.8 Macro is STM Lens amzn.to/3UUs1bB
    Caffeine: High Brew Cold Brew Coffee amzn.to/3hXyx0q
    More Caffeine: Monster Energy Juice, Pipeline Punch amzn.to/3Czmfox
    Building A Second Brain book: amzn.to/3cIShWf
  • Наука та технологія

КОМЕНТАРІ • 34

  • @codetothemoon
    @codetothemoon  Рік тому +7

    ERRATA: I neglected to explicitly mention that this video is sponsored by Upstash!
    Regarding pricing scaling back down to zero when using "pay as you go" - it doesn't quite go back down to $0 unless you wipe all of your data. But if your traffic volume goes back down to negligible levels, you'll be paying less than $1/month.

    • @HalfMonty11
      @HalfMonty11 Рік тому +3

      I'm pretty sure if you go into UA-cam Studio, under content, select this video and then go to more options, there should be a checkbox for "My video contains paid promotion like a product placement, sponsorship, or endorsement".
      I believe this adds a tiny little overly/watermark in the bottom left corner of the video that simply says "Includes paid promotion". It's suitable for legal compliance and such and doesn't distract from the video.

    • @codetothemoon
      @codetothemoon  Рік тому +2

      @@HalfMonty11 thanks, I actually do have this checkbox checked for the video. I got some feedback that I wasn't upfront about it being sponsored, which I can understand - the overlay you refer to is easy to miss

  • @phenanrithe
    @phenanrithe Рік тому +11

    The quote of the day: "we won't be doing any error handling to keep the code clean" - that's the spirit! 😂 Just kidding of course, we all understood it correctly. Very interesting as always, thanks for the video!

    • @codetothemoon
      @codetothemoon  Рік тому +5

      Next time your coworkers get on your case for lax error handling, just tell them you were trying to keep the code clean! 🙃 jp, glad you liked it!

  • @schimmligerveganer2065
    @schimmligerveganer2065 Рік тому +8

    Thanks for the interesting showcase, never worked with redis before. Regarding the sponsoring: The sponsor bit in the beginning and the one on multi-zone availability were really good because they showcased actual features. However, the one on pricing at 10:05 and the outro testimonials were salestalk that felt quite jarring in the context of a hands-on video geared towards developers. A short comment that the video is sponsored at the beginning of the video would also feel more transparent.

    • @nonefvnfvnjnjnjevjenjvonej3384
      @nonefvnfvnjnjnjevjenjvonej3384 Рік тому +2

      yup. which parts are an ad and which parts are just showing stuff needs to have more clearer demarcation.

    • @codetothemoon
      @codetothemoon  Рік тому +3

      this is great feedback, thank you! Will definitely take it to heart going forward

  • @adibhanna
    @adibhanna Рік тому +1

    Excellent video as usual!

  • @juan0338
    @juan0338 Рік тому +2

    Very good content. Would be good to mention some of the downsides of using Lua scripts within redis (for example that Lua scripts block the server or that accessing cross-slot keys inside the script can suffer from performance issues). Maybe I missed this, but is Upstash running in cluster mode?

    • @codetothemoon
      @codetothemoon  Рік тому +3

      Thank you! and great point wrt to Lua scripting. I should have mentioned some of the caveats of the approach. I don't believe Upstash has an equivalent of cluster mode - and it's worth noting that it's not actually a fork or derivative of Redis itself, it was actually built from scratch.

  • @umutdogrruu
    @umutdogrruu Рік тому +1

    The nvim theme and plugins look very nice. Have you shared these somewhere or are you going to share them?

    • @codetothemoon
      @codetothemoon  Рік тому +1

      actually this is DOOM emacs, and don't really have anything beyond the configuration it comes with. I just uncommented `rust` in init.el and switched to the Monokai Pro theme.

  • @renatocunha6974
    @renatocunha6974 Рік тому +1

    Cooooooollll, im test this. It get a absurd performance!!!!

  •  Рік тому

    Where the Script class comes from ? cargo Redis ?

  • @guilherme5094
    @guilherme5094 Рік тому +1

    👍Thanks

  • @ticua07
    @ticua07 Рік тому +1

    What font are you using?

  • @maverick456-33
    @maverick456-33 Рік тому +1

    Redis is super fast !

  • @rzegnam
    @rzegnam Рік тому +1

    Fajne są dźwięki klikania w klawiaturę

  • @carlosmspk
    @carlosmspk Рік тому +1

    7:27 - "Which, your app should be fairly popular to exceed at"
    Ouch :(

    • @codetothemoon
      @codetothemoon  Рік тому

      "popular" relative to the small or non existent userbases of side project apps that were mainly created without any intent of garnering any sort of user base 😎

    • @carlosmspk
      @carlosmspk Рік тому

      @@codetothemoon that's an apt description of my use case for it! 😅
      Very well, you live... this time...

  • @nonefvnfvnjnjnjevjenjvonej3384

    dunno man. feels like you sold out. not sure if this is actually a good idea to run stuff with lua scripts and redis.

    • @codetothemoon
      @codetothemoon  Рік тому

      thanks for the feedback! Do you think the use of Lua scripts is a sign that maybe a different database should be used?

    • @bennetb01
      @bennetb01 Рік тому +1

      @@codetothemoon I sorta feel like it was a bit more ad and a bit less content.

    • @SadCP
      @SadCP Рік тому

      @@bennetb01 definitely does feel like an ad and not very relevant to Rust. Get the bag though, @codetothemoon, you've made more than your fair share of very helpful Rust content lol. Maybe in the future, content should not be purely rust focused..?

    • @nonefvnfvnjnjnjevjenjvonej3384
      @nonefvnfvnjnjnjevjenjvonej3384 Рік тому

      @@SadCP agree. get the bag, but be a bit honest to your users. if the lines are clearly drawn, noone feels cheatedf.

  • @greendsnow
    @greendsnow 2 місяці тому

    Remove the name 'Redis' please. It's a licensed software now.