java - Hibernate ORM in cluster environment -
we have new java project planning deploy in cluster environment.
i want clarify if hibernate suitable new in technology. far know, hibernate set of java apis working in jvm, caching of objects, first/second level whatever is, bind particular jvm. right?
if yes, in cluster environment there many cluster nodes, each own jvm. lead logical mistake, right?
if second-level cache not enabled, there no problems, because first level cache bound session (persistence context).
if second-level cache enabled, nodes in cluster must aware of each other, cache entries invalidated across cluster when changed. example, see documentation how infinispan cache provider.
Comments
Post a Comment