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

ios - Is 'init' forbidden as *part* of a variable name? -

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

file - Python: AttributeError: 'str' object has no attribute 'readlines' -