JVM heap replication between two machines

前端 未结 4 916
终归单人心
终归单人心 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:11

    Terracotta can indeed handle that if you tell it to - see the description of its DSO - Distributed Shared Objects.

    It sounds cool but I would prefer something like EHcache (can be backed by Terracotta again) which functions on a bit more high level.

提交回复
热议问题