mysql galera and jpa -


i whould implement scenario using jee/ejb/jpa mysql galera. has tried similar?

i have 2 master mysql nodes communicate each other galera.

i have same application running on 2 wildfly application servers(cluster 2 nodes) communicating each instance of galera cluster. use jpa.

i have 2 instances of mysql , wildfly in different geographic locations. ping takes 250 ms betweeb locations.

i'm looking mechanism prevent data inconsistency. typical prolematic scenario following:

the first wilfly node writes first mysql insatnce data , galera replicates second mysql instance , jpa doesn't know it.


Comments

Popular posts from this blog

java - How to compare two classes -

javascript - Why Selenium can't find an element that is graphically visible -

c# - Get the Class name in a class with atribute inside a attribute method -