Building a Basic RPC Server and Client with Go

preview_player
Показать описание
In this tutorial, we take a look at a simple example of using RPC with Golang.

Support the Channel and Join Patreon:

Dontate:
ETH: 0x03247265dd5242605bD2FA3c40fb3b70d9e3D685
Cardano: addr1q9auccwrr9ws8qdyv45f4qwsx76pfmld4zapks89sakq94ay0xmle73y0r8ruwd0zslls4eglf98lghru7ywv56cedysk7ftjt

Рекомендации по теме
Комментарии
Автор

....And that's how amazing Go tutorials are made.

kudoamv
Автор

Excellent. I am not sure why many textbook/tutorials never say anything on rpc. RPC is really powerful for many applications.

टिरंजननकले
Автор

dude amazing. i was looking for go tutorials and here you are

syedmuhammaddanish
Автор

Useful, clear and concise couldn't ask for much more Thanks!

robertmartinez
Автор

@2:46 if val.title == edit.title {} ==> val.title == title,  
otherwise it will not replace/edit/update the title value

gauravchandel
Автор

This is terrific. In addition to clear, concise content, you have set your font size so that I CAN ACTUALLY READ it. Awesome!

stanvangilder
Автор

This was excellent - thank you for actually detailing the nuances!

bobert
Автор

simple and clear, your are great tutor !

jungding
Автор

Hi, Thanks for the great tutorial but I have a question. In the server side code I don't understand how the variables are associated to one another. Does rpc automatically register on port 4040. Because the API variable or rpc method haven't been explicitly associated or passed as a parameter to the listener, so how does it know which rpc to respond to?

GoKotlinJava
Автор

Mehn am hooked subbing right now great work

kenmichigwan
Автор

hey, I'm still confused about why two arguments are needed. Is this a requirement for an RPC service?

liangyu
Автор

Thank you, I have already following your Go Microservices. May be after Hexagonal Microservice, can you create a toturial, How we can communicate between service using gRPC of course with Go-Kit. Big thank you!

rizaldi
Автор

the way I learnt rpc was using the protobuf library but your method looks much easier, so whats the difference between your method and using protobuf ? has protobuf superseded with your method?

asiasigana
Автор

I have a question. What changes need to be made in order to run the client file on my laptop and the server file on my PC and have them connect through wifi? Is that even possible?

spacewar
Автор

Hi thanks for the tutorial! One question so far is why do we need the ... in database = append(database[:idx], database[idx+1:]...) for the delete function. I understand that the append is a variadic function but why are the ... needed. Cheers

matthiasdebernardini
Автор

Thanks for the tutorial, what vscode theme are you using?

StefanoPernat
Автор

great tutorial as always. I have a question, can gRPC works as websocket, for example for chat application? Can I use it instead of websocket for chat application with high load?

jackdanyal
Автор

8:55 here variable getItem is local to GetByName(), if we return pointer to the local variable and the memory for that variable gets destroyed after returning of that method, will this lead to invalid memory access ?

phonecontacts
Автор

how did you enter the does not equal on line 70 =/=? is that a vs code feature?

mikejay
Автор

how to create a gRPC app in which we can pass the endpoints like get or fetch the list of users and get or fetch the user's details using ID. I really need help please

Diadem
join shbcf.ru