V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
wqq096737ink
V2EX  ›  问与答

gRPC 和 rest api with http/2 有啥区别

  •  
  •   wqq096737ink · May 19, 2023 · 593 views
    This topic created in 1074 days ago, the information mentioned may be changed or developed.
    gRPC 本身使用 http/2 使用更为紧凑的编码方式 protocol bufffers 。

    如果 rst api 也用上 http/2 , 抛开 rest 的 json 编码和 grpc 的 protocol buffers 编码不谈,这两者有啥区别?

    grpc 有什么其他的优势?
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1027 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 19:01 · PVG 03:01 · LAX 12:01 · JFK 15:01
    ♥ Do have faith in what you're doing.