Building micro-services in Rust using gRPC!

  Рет қаралды 56,396

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!!
@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 5 ай бұрын
could you explain more this idea,please? I'm currently stucking to understand the generated rust code
@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.
@agivney
@agivney 2 жыл бұрын
As always, a great, clear and easy to understand tutorial. You have a gift for this, keep it up.
@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
@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.
@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!
@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!
@alexkarav
@alexkarav 2 жыл бұрын
Bogdan, great video! And by the way, new previews is awesome and beautiful 😍
@saalimmohammed1599
@saalimmohammed1599 2 жыл бұрын
Will Love to see more on this! Thank you
@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
@tabiasgeehuman
@tabiasgeehuman 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.
@RobertoOrtis
@RobertoOrtis 2 жыл бұрын
If we are talking about communication between microservices, the client (in this case) would be another microservice?
@ygameayd2505
@ygameayd2505 2 жыл бұрын
That's the best rust education channel.
@noruntime
@noruntime Жыл бұрын
Great video, thanks so much 👍
@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?
@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
@_jdfx
@_jdfx 2 жыл бұрын
so good! best Rust youtube channel! thanks Bogdan!
@neetisharma3768
@neetisharma3768 2 ай бұрын
Great video! thanks :)
@bandrefilipe
@bandrefilipe 2 жыл бұрын
Does it need cmake installed? Why is it not said anywhere?
@matthiasdebernardini3388
@matthiasdebernardini3388 2 жыл бұрын
such an amazing video, thanks so much!
Жыл бұрын
Hey bro, super awesome the video. Could you let me know witch autocomplete use in you console ?
@yoni-3240
@yoni-3240 Жыл бұрын
Amazing thank you!
@pedrocardoz0
@pedrocardoz0 2 жыл бұрын
thats awesome, good job!
@telostia
@telostia Жыл бұрын
This is quite a cheatsheet tutorial 😁
@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
@РусланЮсуфов-ф3ш
@РусланЮсуфов-ф3ш Жыл бұрын
super helpful!
@sathyajithps013
@sathyajithps013 Жыл бұрын
wait, what does rt-multi-threaded do exactly? If I remember correctly, isnt tokio multithreaded by default?
@goodwish1543
@goodwish1543 2 жыл бұрын
Great topic. Would you take Meta Thrift RPC as well in future?
@ARS-fi5dp
@ARS-fi5dp 2 жыл бұрын
Thank you man 🙏❤
@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.
@user-lw2wj5tz6s
@user-lw2wj5tz6s Жыл бұрын
Thanks :)
@wolfeygamedev1688
@wolfeygamedev1688 Жыл бұрын
How do we deploy this application to the public web?
@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?
@alanhoff89
@alanhoff89 2 жыл бұрын
Can you do a video on manually implementing std::future::Future?
@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
@GlobalYoung7
@GlobalYoung7 2 жыл бұрын
thank you 👍
@Julianchuk
@Julianchuk 2 жыл бұрын
are u actually building any project on intenet computer blockchain?
@zatochiSiberian
@zatochiSiberian 2 жыл бұрын
Thanks!
@tony-go-code
@tony-go-code Жыл бұрын
cool 👍
@marcomarek7734
@marcomarek7734 Жыл бұрын
❤️
@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)
@slurpin-tw
@slurpin-tw 2 жыл бұрын
Great!!
@IamAWESOME3980
@IamAWESOME3980 8 ай бұрын
how do you do user login?
@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?
@Snijele
@Snijele 9 ай бұрын
chee shee ❤
@Xeros08
@Xeros08 2 жыл бұрын
Nice
@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` ```
@CassinoDev
@CassinoDev 2 жыл бұрын
Amazing o/
@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..
@michalbotor
@michalbotor 2 жыл бұрын
i wanted to learn some rust late at night. but i am totally lost. rust is hard. really hard.
@alithejumbo
@alithejumbo 2 жыл бұрын
Shaking my head
@jasonlantz3808
@jasonlantz3808 2 жыл бұрын
yeah g....
@jjoster
@jjoster 2 жыл бұрын
Where are the unit tests?
@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 жыл бұрын
不客气
@dextreme1754
@dextreme1754 2 жыл бұрын
Rust looks horrible it hurts my eyes
@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
@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
Intro to async/.await in Rust
13:57
Let's Get Rusty
Рет қаралды 90 М.
Tonic makes gRPC in Rust stupidly simple
19:08
Dreams of Code
Рет қаралды 51 М.
СОБАКА ВЕРНУЛА ТАБАЛАПКИ😱#shorts
00:25
INNA SERG
Рет қаралды 2,7 МЛН
When mom gets home, but you're in rollerblades.
00:40
Daniel LaBelle
Рет қаралды 135 МЛН
Wait for it 😂
00:19
ILYA BORZOV
Рет қаралды 11 МЛН
Players vs Pitch 🤯
00:26
LE FOOT EN VIDÉO
Рет қаралды 96 МЛН
Coding a Web Server in 25 Lines - Computerphile
17:49
Computerphile
Рет қаралды 342 М.
tRPC, gRPC, GraphQL or REST: when to use what?
10:46
Software Developer Diaries
Рет қаралды 88 М.
Why do developers hate Rust?
8:20
Let's Get Rusty
Рет қаралды 138 М.
The Truth about Rust/WebAssembly Performance
29:47
Greg Johnston
Рет қаралды 184 М.
Beginners Guide to gRPC in Go!
18:15
TutorialEdge
Рет қаралды 138 М.
When RESTful architecture isn't enough...
21:02
Dreams of Code
Рет қаралды 282 М.
you need to build a RUST desktop app!!
27:21
Travis Media
Рет қаралды 325 М.
rust runs on EVERYTHING (no operating system, just Rust)
18:10
Low Level
Рет қаралды 361 М.
Rust Powered Polymorphism ⚡️ With Traits
9:55
Code to the Moon
Рет қаралды 103 М.
The BEST gRPC Framework for Golang
13:46
Melkey
Рет қаралды 10 М.
СОБАКА ВЕРНУЛА ТАБАЛАПКИ😱#shorts
00:25
INNA SERG
Рет қаралды 2,7 МЛН