Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » EclipseLink Cache Coordination with Oracle GoldenGate
EclipseLink Cache Coordination with Oracle GoldenGate [message #660750] Mon, 21 March 2011 13:14 Go to next message
Moritz  is currently offline Moritz Friend
Messages: 2
Registered: March 2011
Junior Member
Hello everyone,

we evaluate the following setup: in order to balance queries to our main database, we would like to create a "mirror" using Oracle GoldenGate.
Each mirror would be used by a separate application instance. Each application has an EclipseLink layer including caching.

Is it possible to update the cache of the "mirror" application instance every time a replication happens?

Thank you in advance.
Re: EclipseLink Cache Coordination with Oracle GoldenGate [message #765281 is a reply to message #660750] Tue, 13 December 2011 19:05 Go to previous messageGo to next message
urkings Missing name is currently offline urkings Missing nameFriend
Messages: 8
Registered: December 2011
Junior Member
Moritz did you get a solution for this problem? Currently I have the same problem.


Re: EclipseLink Cache Coordination with Oracle GoldenGate [message #768209 is a reply to message #765281] Mon, 19 December 2011 19:04 Go to previous messageGo to next message
James Sutherland is currently offline James SutherlandFriend
Messages: 1939
Registered: July 2009
Location: Ottawa, Canada
Senior Member

You would need to be able to receive events from GoldenGate in Java and either invalidate the EclipseLink cache directly using its invalidation APIs, or send EclipseLink cache coordination invalidation events to the server with the cache (or raise your own events through JMS or other).

GoldenGate does have a Java mechanism that can let you do this.


James : Wiki : Book : Blog : Twitter
Re: EclipseLink Cache Coordination with Oracle GoldenGate [message #768212 is a reply to message #765281] Mon, 19 December 2011 19:04 Go to previous message
James is currently offline JamesFriend
Messages: 272
Registered: July 2009
Senior Member
You would need to be able to receive events from GoldenGate in Java and either invalidate the EclipseLink cache directly using its invalidation APIs, or send EclipseLink cache coordination invalidation events to the server with the cache (or raise your own events through JMS or other).

GoldenGate does have a Java mechanism that can let you do this.
--
James : http://wiki.eclipse.org/EclipseLink : http://en.wikibooks.org/wiki/Java_Persistence : http://java-persistence-performance.blogspot.com/
Previous Topic:JPA spec: persisting discriminator values not mandatory?
Next Topic:Problem with @Inheritance - Constraint violated
Goto Forum:
  


Current Time: Thu Nov 14 21:51:53 GMT 2024

Powered by FUDForum. Page generated in 0.03404 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top