cirton
V2EX  ›  Java

多节点之间通信常用方法有哪些?

  •  1
     
  •   cirton · Mar 6, 2019 · 2582 views
    This topic created in 2807 days ago, the information mentioned may be changed or developed.

    比如一个集群中,多个节点之间相互通信一般用什么技术?

    5 replies  •  2019-03-07 09:26:48 +08:00
    billlee
    billlee
    Mar 7, 2019
    1
    gRPC, thrift, HTTP
    akka
    zeromq, netty
    Wisho
    Wisho
    Mar 7, 2019
    2
    rpc 比较常用
    leon0318
    leon0318
    Mar 7, 2019 via Android
    3
    常用的就 rpc 和 http 吧~
    cirton
    cirton
    OP
    Mar 7, 2019
    4
    @leonme 比较简单的方式是哪种呢?只用于传输 json 数据的话
    leon0318
    leon0318
    Mar 7, 2019 via Android
    5
    @cirton 都简单,适用场景不同,对性能要求不是太高的话,使用 http 就行了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2686 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 36ms · UTC 05:10 · PVG 13:10 · LAX 21:10 · JFK 00:10
    ♥ Do have faith in what you're doing.