JVM heap replication between two machines

前端 未结 4 747
终归单人心
终归单人心 2021-02-01 15:26

What are the basic principles of how two separable computers connected within the same network running the same Java application maintain the same state by syncing their heap be

4条回答
  •  清酒与你
    2021-02-01 16:14

    One emerging technology that somehow tackles this problem is Distributed Software Transactional Memory. You get strong data consistency guarantees (i.e. 1-copy serializability) and a powerful concurrency control mechanism: transactions.

    AFAIK, there is no mature solution out there, but it is promising.

提交回复
热议问题