cirton
V2EX  ›  Java

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

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

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

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