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 - Наука та технологія
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.
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.
@@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
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!
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!
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.
yup. which parts are an ad and which parts are just showing stuff needs to have more clearer demarcation.
this is great feedback, thank you! Will definitely take it to heart going forward
Excellent video as usual!
Thank you!
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?
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.
The nvim theme and plugins look very nice. Have you shared these somewhere or are you going to share them?
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.
Cooooooollll, im test this. It get a absurd performance!!!!
it's worth taking for a spin!
Where the Script class comes from ? cargo Redis ?
👍Thanks
thanks for watching!
What font are you using?
Believe it is Monaco.
Redis is super fast !
indeed! 🚀
Fajne są dźwięki klikania w klawiaturę
Dziękuję!
7:27 - "Which, your app should be fairly popular to exceed at"
Ouch :(
"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 😎
@@codetothemoon that's an apt description of my use case for it! 😅
Very well, you live... this time...
dunno man. feels like you sold out. not sure if this is actually a good idea to run stuff with lua scripts and redis.
thanks for the feedback! Do you think the use of Lua scripts is a sign that maybe a different database should be used?
@@codetothemoon I sorta feel like it was a bit more ad and a bit less content.
@@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..?
@@SadCP agree. get the bag, but be a bit honest to your users. if the lines are clearly drawn, noone feels cheatedf.
Remove the name 'Redis' please. It's a licensed software now.