-
1. Re: Keeping a cache cluster in sync with MSSQL Server database
fealves78 Nov 27, 2011 1:03 AM (in response to fealves78)... ?
-
2. Re: Keeping a cache cluster in sync with MSSQL Server database
galder.zamarreno Nov 28, 2011 4:40 AM (in response to fealves78)Hmmm, where are these database updates coming from?
Do they always come from the app with the cache? If so, you could have the app invalidate/clear the cache when the database is updated. Either selectively, or globally.
If the updates come from somewhere else, you need to somehow notify the system containing the cache that the database was updated and the data it contains must be invalidated.
-
3. Re: Keeping a cache cluster in sync with MSSQL Server database
fealves78 Nov 28, 2011 12:51 PM (in response to galder.zamarreno)The database is being updated by other applications and I need to communicate the changes with some frequency to the HotRod cache cluster. The data is originally loaded from the database to the cache cluster by a specific application that uses JDBC and HotRod's RemoteCache object. Once the data is in the cache it is "read-only".
According to my previous e-mail, MSSQL Server 2008 R2 has a notification mechanism that seems to be able to fulfill my needs (for more info, please refer to: http://www.microsoft.com/download/en/details.aspx?id=21599 ). I was just wondering if anybody has used it before or has successfully used another mechanism to provide such notifications.