wqq096737ink
V2EX  ›  问与答

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

  •  
  •   wqq096737ink · May 19, 2023 · 989 views
    This topic created in 1288 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   ·   Privacy   ·   Solana   ·   1090 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 18:27 · PVG 02:27 · LAX 10:27 · JFK 13:27
    ♥ Do have faith in what you're doing.