wqq096737ink
V2EX  ›  问与答

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

  •  
  •   wqq096737ink · May 19, 2023 · 627 views
    This topic created in 1092 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   ·   5560 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 65ms · UTC 08:41 · PVG 16:41 · LAX 01:41 · JFK 04:41
    ♥ Do have faith in what you're doing.