GopherCon 2017: grpc: From Tutorial to Production - Alan Shreve

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 ม.ค. 2025

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

  • @lahssenkh1329
    @lahssenkh1329 7 ปีที่แล้ว

    alan you talked about custom error handling not being easy with grpc . If we consider:
    message Data(define here the actual data that would be in the response for successful call)
    message Error (
    string name=1 ; //could store the attribute that cause the error
    string message=2 ; //the actual description of the error
    )
    And finally
    message Response (
    Data data=1;
    repeated Error error=2;
    )
    Wouldn't it fit the purpose and be pretty flexible ? We then check if grpc error code is not nil and check for errors descriptions if any, else consider the default error message matching the error code

  • @Swordbeta
    @Swordbeta 7 ปีที่แล้ว +1

    What's going on with the font

  • @gimakos
    @gimakos 7 ปีที่แล้ว

    Great talk and great explanation

  • @marcoq7160
    @marcoq7160 7 ปีที่แล้ว

    Great talk. Thanks, Alan!

  • @ganpati0007
    @ganpati0007 7 ปีที่แล้ว +5

    "Never have to write another REST Client Library". YA BUDDY NEVER GONNA HAPPEN. By the way I used GRPC. Documentation is really poor so if you guys want people to use it. Improve the documentation!

    • @i-am-learning-life
      @i-am-learning-life 4 ปีที่แล้ว

      Did you got any kind of improvement can you share me the resources

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

      @@i-am-learning-life i just read past this another 2 years later and i am just curious if the issue has been addressed to OPs liking.

  • @buscoopwang8874
    @buscoopwang8874 7 ปีที่แล้ว

    Great talk. Thanks, Alan!