Golang gRPC | Build a Unary Service Method - Part 1

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 พ.ย. 2024
  • Use Protobuf and Golang to build a Unary gRPC service.
    In this video I introduce you to gRPC using the Go programming language. I walk you through the process of building a service definition using Protocol Buffers, and then implementing the client and server code for a gRPC User Management Service.
    PREREQUISITES QUICK START GUIDE: grpc.io/docs/l...
    GitHub Code: github.com/tec...

ความคิดเห็น • 32

  • @tech_with_moss
    @tech_with_moss  3 ปีที่แล้ว +7

    Introduction: 00:00 - 01:05
    User Management Service Definition: 01:06 - 09:50
    gRPC Server: 09:51 - 19:19
    gRPC Client: 19:20 - 28:45
    Conclusion: 28:46 - 29:46

  • @elendil_745
    @elendil_745 2 ปีที่แล้ว +12

    This is the best golang/gRPC tutorial I have seen ultimately. I tried others, even udemy courses, they all seamed to miss something... a command that has changed, module creation failing, etc. Thank you!

    • @tech_with_moss
      @tech_with_moss  2 ปีที่แล้ว +4

      Thanks a lot Pedro, I really appreciate this feedback. I'm sure with time some of the things you mentioned will happen with this tutorial as well (like API's changing or being deprecated) but I'm very glad that it's been helpful for you.

  • @itcloudguy
    @itcloudguy 2 ปีที่แล้ว +2

    This is the best gRPC for Go lesson I`ve ever find in the TH-cam. All information is actual. I did all and it works! Thank You very much for this lesson!

    • @tech_with_moss
      @tech_with_moss  2 ปีที่แล้ว +1

      I'm very happy to hear that this tutorial still has relevant information. Thank you!

  • @teckieboomer
    @teckieboomer 2 ปีที่แล้ว +2

    Good job on the explaining the code as you were writing it. I altered my folder structure and modified my protoc output locations and still got this working first try, so this is a testament to the quality of your tutorial.

    • @tech_with_moss
      @tech_with_moss  2 ปีที่แล้ว +1

      Thanks a lot! I'm glad to hear it.

  • @calvinwijaya9706
    @calvinwijaya9706 3 ปีที่แล้ว +9

    Thank you! A very clear and clean tutorial

  • @muhammaddipo9284
    @muhammaddipo9284 2 ปีที่แล้ว +1

    Thanks for the tutorial, it helped me learning gRPC!

  • @stack.1
    @stack.1 2 ปีที่แล้ว +1

    Well explained, thanks

  • @matthewsting8926
    @matthewsting8926 3 ปีที่แล้ว +1

    thanks for the tutorial, so many garage kit.

  • @sakthibreeze6189
    @sakthibreeze6189 2 ปีที่แล้ว +1

    Nice explanation ji

  • @sidhantchandak5152
    @sidhantchandak5152 2 ปีที่แล้ว

    crystal clear explanation! keep up the awesome work!

  • @plaguewielder2037
    @plaguewielder2037 2 ปีที่แล้ว +1

    simple and clear, thanks dude

  • @arnabmukherjee5840
    @arnabmukherjee5840 3 ปีที่แล้ว +1

    Awesome tutorial.

  • @markuswerner1166
    @markuswerner1166 2 ปีที่แล้ว +1

    Good intro

  • @techhack1700
    @techhack1700 2 ปีที่แล้ว +1

    good tutorial

  • @wibiasfuad567
    @wibiasfuad567 3 ปีที่แล้ว +1

    Neat tutorial, friend! Can you make explanation video about golang context?

    • @tech_with_moss
      @tech_with_moss  3 ปีที่แล้ว

      Thank you for the suggestion! I will definitely consider including this topic in future videos

  • @anilasoman3905
    @anilasoman3905 2 ปีที่แล้ว

    Thanks

  • @oussamasethoum1665
    @oussamasethoum1665 3 ปีที่แล้ว +1

    Thank you very much sir, I hope you make tutorials on how to use Go with graphql ( gqlgen ) and database orm ( gorm ) with authentication ( jwt, auth0 ).

    • @tech_with_moss
      @tech_with_moss  3 ปีที่แล้ว +1

      Thanks for the suggestion! I will definitely consider these topics for future videos.

  • @siasalar
    @siasalar 2 ปีที่แล้ว

    Do you know why I get following error in running client_server:
    Could not create user: rpc error: code = Unimplemented desc = method CreateNewUser not implemented

  • @adeniyi_stephen
    @adeniyi_stephen 3 ปีที่แล้ว +1

    Hello, I tried to install golang gRPC on my system, but I'm having some administrative issues, like permission denied, can someone help please

    • @climbtrees1045
      @climbtrees1045 3 ปีที่แล้ว

      Try running from an elevated command prompt (right click; run as administrator on windows or use sudo if on mac OS)

  • @fraterrr6560
    @fraterrr6560 3 ปีที่แล้ว

    What other service methods are there and how do I know when and where to use this uinary one?

  •  3 ปีที่แล้ว

    The CPU usage increases as the request is made to the grpc server written in Golang. Do you have a suggestion for this problem?

  • @lefinal
    @lefinal ปีที่แล้ว

    as a goland user, all this manual work and naming conventions are pure pain to watch lol

  • @MurtuzaZabuawala-e3h
    @MurtuzaZabuawala-e3h 10 หลายเดือนก่อน

    why so serious?

  • @fraterrr6560
    @fraterrr6560 3 ปีที่แล้ว +3

    Never mind I have no idea what you are saying