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

Popular posts from this blog

Ansible - ERROR! the field 'hosts' is required but was not set -

customize file_field button ruby on rails -

SoapUI on windows 10 - high DPI/4K scaling issue -