openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "" <>
Subject OpenJPA Clustering (and MySQL Replication)
Date Mon, 14 Jan 2013 20:42:06 GMT

we are currently drafting/implementing some clustering mechanisms for
Apache OpenMeetings.

I have seen OpenJPA supports the MySQL Replication feature:
which is great!

However it solves only one side of the cluster: Having the database

What happens if you want to cluster OpenJPA itself on multiple nodes? Each
OpenJPA instance would have its own data-cache, how can you make sure those
caches are synchronized across all nodes in your cluster?
And how would you solve the primary key/sequencer issue? When multiple
instances write to the same database they could potentially try to create a
record with the same primary key.


Sebastian Wagner!/dead_lock

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message