Building micro-services in Rust using gRPC!

  Рет қаралды 57,444

Let's Get Rusty

Let's Get Rusty

Күн бұрын

Пікірлер: 99
@letsgetrusty
@letsgetrusty 2 жыл бұрын
📝Get your *FREE Rust cheat sheet* : www.letsgetrusty.com/cheatsheet
@flogginga_dead_horse4022
@flogginga_dead_horse4022 2 жыл бұрын
I understood gRPC more in the first minute of this video than I ever did with other sources :D Well explained!!
@boi64pr60
@boi64pr60 2 жыл бұрын
What I like about your videos is that at least you do zoom the image so that it can be watchable even on a phone. Keep up the good work.
@sharperguy
@sharperguy Жыл бұрын
The thing I love about rust is that the macro system is flexible enough to just generate the types at compile time, rather than needing a separate code generation step and a "do not edit this file" file
@souhachabir
@souhachabir 6 ай бұрын
could you explain more this idea,please? I'm currently stucking to understand the generated rust code
@user-if7lb8zy8i
@user-if7lb8zy8i 2 жыл бұрын
Great vid, look forward to seeing more awesome videos in the future. I just love this channel's consistency :D
@agivney
@agivney 2 жыл бұрын
As always, a great, clear and easy to understand tutorial. You have a gift for this, keep it up.
@alexkarav
@alexkarav 2 жыл бұрын
Bogdan, great video! And by the way, new previews is awesome and beautiful 😍
@RobertoOrtis
@RobertoOrtis 2 жыл бұрын
If we are talking about communication between microservices, the client (in this case) would be another microservice?
@chrisalexthomas
@chrisalexthomas 2 жыл бұрын
wah! that's so easy, I don't understand the syntax, but it was really clear what you were trying to do. I think I might have a go at this in the future with a microservice and see what happens. Thanks for the video! Subscribed and got the bell on!
@Chrizz604
@Chrizz604 2 жыл бұрын
Great video, maybe do another one with bidirectional streaming?
@letsgetrusty
@letsgetrusty 2 жыл бұрын
Good idea! :)
@vinnbrock
@vinnbrock 2 жыл бұрын
This video was great, thank you. I agree though. Please do bidirectional streaming.
@verysussdev
@verysussdev 2 жыл бұрын
or maybe a music streaming server like spotify :)? thanks for the tute btw
@suya1671
@suya1671 2 жыл бұрын
@@verysussdev that could probably be done via a webRTC stream or an opus stream
2 жыл бұрын
Indeed, bidirectional function calls and error handling would be great.
@yalld
@yalld 2 жыл бұрын
This was a great video, you explained grpc very well, the necessary packages and why one might want to use this approach. Thanks for this!
@colinheyl5034
@colinheyl5034 2 жыл бұрын
Cheers! Working with my own theme, it took me a little bit to work out exactly what bits link to what other bits but I got it working. Very helpful video and repo, for my first time using Rust.
@vinsmokearifka
@vinsmokearifka Жыл бұрын
Great video Sir, but I don't get on ''bitcoin_server" & "bitcoin_client" come from..
@matthewfrantz8218
@matthewfrantz8218 Жыл бұрын
Yeah I was wondering the same thing. Anyone have any ideas? I wonder if they get generated by the grpc framework under the hood
@saalimmohammed1599
@saalimmohammed1599 2 жыл бұрын
Will Love to see more on this! Thank you
@ygameayd2505
@ygameayd2505 2 жыл бұрын
That's the best rust education channel.
@noruntime
@noruntime Жыл бұрын
Great video, thanks so much 👍
@bandrefilipe
@bandrefilipe 2 жыл бұрын
Does it need cmake installed? Why is it not said anywhere?
@wolfeygamedev1688
@wolfeygamedev1688 Жыл бұрын
How do we deploy this application to the public web?
@_jdfx
@_jdfx 2 жыл бұрын
so good! best Rust youtube channel! thanks Bogdan!
@sourav_-_7038
@sourav_-_7038 2 жыл бұрын
OMFG thanks for this. Rust just needs few more backend frameworks like fast api and flask restful, then it's gameover for go.
@bjugdbjk
@bjugdbjk 2 жыл бұрын
Yeah I feel rust deserves lot of attention then compared to GO, Rust is super capable !
@zh4842
@zh4842 2 жыл бұрын
Go=K8s
@bjugdbjk
@bjugdbjk 2 жыл бұрын
@@zh4842 yeah true...major portion is using Go,but lately they understood lot of memory related bugs has been found during runtime...so they r moving to rust..looks for a talk rust for cloud development !
@sourav_-_7038
@sourav_-_7038 2 жыл бұрын
@Víctor Martínez rocket is slow af. I have tried, actix is 10x better
@ironhammer4095
@ironhammer4095 2 жыл бұрын
@@sourav_-_7038 How bout Axum web framework?
@muthuisheree
@muthuisheree 2 жыл бұрын
Thanks for the video. I like the way you are explaining more than typing code. The line by line pasting syncs very well. Any extension you used or its editing?
@sathyajithps013
@sathyajithps013 Жыл бұрын
wait, what does rt-multi-threaded do exactly? If I remember correctly, isnt tokio multithreaded by default?
@Sharakov15
@Sharakov15 2 жыл бұрын
Great video! But it would have been better with unit test in the end.
@vanish3408
@vanish3408 2 жыл бұрын
not everything has to have unit tests
@brentsteyn6671
@brentsteyn6671 2 жыл бұрын
@@vanish3408 😂😂 lol I think he just wanted to see how you would unit test this stuff.
@sharkpyro93
@sharkpyro93 2 жыл бұрын
the rust comunity seems to hate tesing, thats Just shows that people using It are mostly hobbist, even the libraries and orms are not really made with testing in mind, too bad
@marcokuidja1950
@marcokuidja1950 2 жыл бұрын
I think 🤔 that was not the goal. Never the less it would be simple to verify that the request send by the client is effectively the request excepted by the server and that response send by the server is the one excepted by the client
@proloycodes
@proloycodes 2 жыл бұрын
@@sharkpyro93 yeah just fill everything with tests and get fired
@IamAWESOME3980
@IamAWESOME3980 9 ай бұрын
how do you do user login?
@neetisharma3768
@neetisharma3768 4 ай бұрын
Great video! thanks :)
@matthiasdebernardini3388
@matthiasdebernardini3388 2 жыл бұрын
such an amazing video, thanks so much!
@Skiamakhos
@Skiamakhos Жыл бұрын
Is it easy enough to see, looking at the code, when a function call is going out to a microservice - because if not it may make support/ops harder than it needs to be. If you can see that it's an http call, it's obvious what it's doing.
Жыл бұрын
Hey bro, super awesome the video. Could you let me know witch autocomplete use in you console ?
@Asgallu
@Asgallu 2 жыл бұрын
Great video!, I send data to server and the server response to the microservice. However, I have a doubt, if I wanted to comunicate 2 microservices between them, how can I do it?, sending data from microservice1 through the server and this sends it to microservice1
@alanhoff89
@alanhoff89 2 жыл бұрын
Can you do a video on manually implementing std::future::Future?
@pedrocardoz0
@pedrocardoz0 2 жыл бұрын
thats awesome, good job!
@goodwish1543
@goodwish1543 2 жыл бұрын
Great topic. Would you take Meta Thrift RPC as well in future?
@yoni-3240
@yoni-3240 Жыл бұрын
Amazing thank you!
@Julianchuk
@Julianchuk 2 жыл бұрын
are u actually building any project on intenet computer blockchain?
@telostia
@telostia 2 жыл бұрын
This is quite a cheatsheet tutorial 😁
@ARS-fi5dp
@ARS-fi5dp 2 жыл бұрын
Thank you man 🙏❤
@РусланЮсуфов-ф3ш
@РусланЮсуфов-ф3ш Жыл бұрын
super helpful!
@jeffg4686
@jeffg4686 2 жыл бұрын
@6:20 Result of a Response of a BtcPaymentResponse and also a status - whew. Sure would be sweet if it just returned a BtcPaymentResponse only that included the status and wasn't wrapped (remember the good ole days)
@GlobalYoung7
@GlobalYoung7 2 жыл бұрын
thank you 👍
@mathiasayivor
@mathiasayivor Жыл бұрын
Can you add captions next time? This way we get to know the spelling of some of the terms that you're mentioning
@kevinpiovezan
@kevinpiovezan 2 жыл бұрын
Did you manage to get a Rust developer job man?
@johndesmond5153
@johndesmond5153 2 жыл бұрын
Thanks for the video. Anyone else getting this error from error lens after implementing server.rs? ``` `BtcPaymentRequest` doesn't implement `Debug` the trait `Debug` is not implemented for `BtcPaymentRequest` add `#[derive(Debug)]` to `BtcPaymentRequest` or manually `impl Debug for BtcPaymentRequest` ```
@user-lw2wj5tz6s
@user-lw2wj5tz6s Жыл бұрын
Thanks :)
@zatochiSiberian
@zatochiSiberian 2 жыл бұрын
Thanks!
@michalbotor
@michalbotor 2 жыл бұрын
i wanted to learn some rust late at night. but i am totally lost. rust is hard. really hard.
@tony-go-code
@tony-go-code Жыл бұрын
cool 👍
@nothingisreal6345
@nothingisreal6345 2 жыл бұрын
In the good ol' days MS had DCOM (Distributed COM) - which did exactly what gRPC does today - and I guess it was even faster... IT keeps reinventing the wheel.
@itellyouforfree7238
@itellyouforfree7238 2 жыл бұрын
Sure, and my grand-grandpa in WWI used pigeons, which I guess it was even faster
@GottZ
@GottZ Жыл бұрын
well.. dcom kernel space message queueing.. grpc is TCP..
@jjoster
@jjoster 2 жыл бұрын
Where are the unit tests?
@Snijele
@Snijele 11 ай бұрын
chee shee ❤
@marcomarek7734
@marcomarek7734 2 жыл бұрын
❤️
@slurpin-tw
@slurpin-tw 2 жыл бұрын
Great!!
@Xeros08
@Xeros08 2 жыл бұрын
Nice
@jasonlantz3808
@jasonlantz3808 2 жыл бұрын
yeah g....
@CassinoDev
@CassinoDev 2 жыл бұрын
Amazing o/
@alithejumbo
@alithejumbo 2 жыл бұрын
Shaking my head
@ayowtf_m8
@ayowtf_m8 2 жыл бұрын
Hi, I've been watching your channel for about a month now, and I have one question. Are you Ukrainian/russian/? I know that Bogdan isn't actually an American name, so I wonder where you are from.
@jongxina3595
@jongxina3595 2 жыл бұрын
hes romanian
@summertoo
@summertoo 2 жыл бұрын
xie xie
@letsgetrusty
@letsgetrusty 2 жыл бұрын
不客气
@climatechangedoesntbargain9140
@climatechangedoesntbargain9140 2 жыл бұрын
How about writing an integration test in the future instead of testing the shitcoin service instead of comparing console output?
@memelord4639
@memelord4639 2 жыл бұрын
because this is a gRPC video not an integration testing video
@steverude
@steverude 2 жыл бұрын
Maybe chill Bogdan gives us all this great content for free. It costs nothing to be nice.
@itellyouforfree7238
@itellyouforfree7238 2 жыл бұрын
it's a demo to introduce people to gRPC. what is it that you dont understand?
@climatechangedoesntbargain9140
@climatechangedoesntbargain9140 2 жыл бұрын
@@steverude true, my comment seems rude although it wasn't meant that way - probably gonna delete it
@dextreme1754
@dextreme1754 2 жыл бұрын
Rust looks horrible it hurts my eyes
@rasputindasilva858
@rasputindasilva858 2 жыл бұрын
Rust sucks.
@flogginga_dead_horse4022
@flogginga_dead_horse4022 2 жыл бұрын
@@hermes6910 lol, exactly
@flogginga_dead_horse4022
@flogginga_dead_horse4022 2 жыл бұрын
Laravel/PHP fanboi? lol
@rasputindasilva858
@rasputindasilva858 2 жыл бұрын
@@hermes6910 C, C++ and assembly.
@cat-.-
@cat-.- 2 жыл бұрын
Agreed. It sucks especially hard for people with a hard time picking up new skills
@flogginga_dead_horse4022
@flogginga_dead_horse4022 2 жыл бұрын
@@rasputindasilva858 so writing a bunch of unsafe buggy code probably lol
Tonic makes gRPC in Rust stupidly simple
19:08
Dreams of Code
Рет қаралды 54 М.
Rust's Witchcraft
9:18
No Boilerplate
Рет қаралды 188 М.
The Best Band 😅 #toshleh #viralshort
00:11
Toshleh
Рет қаралды 22 МЛН
Une nouvelle voiture pour Noël 🥹
00:28
Nicocapone
Рет қаралды 9 МЛН
Now I Know Why Most People Don’t Use gRPC
19:11
ArjanCodes
Рет қаралды 61 М.
Microservices are Technical Debt
31:59
NeetCodeIO
Рет қаралды 706 М.
The Truth about Rust/WebAssembly Performance
29:47
Greg Johnston
Рет қаралды 188 М.
Rust Powered Polymorphism ⚡️ With Traits
9:55
Code to the Moon
Рет қаралды 107 М.
Deploy your Rust project in 20 minutes
20:29
Let's Get Rusty
Рет қаралды 51 М.
Rust at speed - building a fast concurrent database
52:54
Jon Gjengset
Рет қаралды 214 М.
When RESTful architecture isn't enough...
21:02
Dreams of Code
Рет қаралды 286 М.
Don't Use Websockets (Until You Try This…)
6:46
Code With Ryan
Рет қаралды 327 М.
rust runs on EVERYTHING (no operating system, just Rust)
18:10
Low Level
Рет қаралды 365 М.
Let's Create a Compiler (Pt.1)
1:11:03
Pixeled
Рет қаралды 586 М.
The Best Band 😅 #toshleh #viralshort
00:11
Toshleh
Рет қаралды 22 МЛН