Announcement Announcement Module
Collapse
No announcement yet.
Requirements of good data caching solution Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Requirements of good data caching solution

    Updateable Cache Tables
    Most of the existing cache solutions are read only which limits their usage to small segment of the applications, ie non-real time applications.

    Bi-Directional Updates
    For updateable caches, updates, which happen in cache, should be propagated to the target database and any updates that happen directly on the target database should come to cache automatically.

    Synchronous and Asynchronous update propagation
    The updates on cache table shall be propagated to target database in two modes. Synchronous mode makes sure that after the database operation completes the updates are applied at the target database as well. In case of Asynchronous mode the updates are delayed to the target database.
    Synchronous mode gives high cache consistency and is suited for real time applications. Asynchronous mode gives high throughput and is suited for near real time applications.

    Multiple cache granularity: Database level, Table level and Result-set caching
    Major portions of corporate databases are historical and infrequently accessed. But, there is some information that should be instantly accessible like premium customerís data, etc

    Recovery for cached tables
    Incase of system or power failure, during the restart of caching platform all the committed transactions on the cached tables should be recovered.

    Tools to validate the coherence of cache
    In case of asynchronous mode of update propagation, cache at different cache nodes and target database may diverge. This needs to be resolved manually and the caching solution should provide tools to identify the mismatches and take corrective measures if required.

    Horizontally Scalable
    Clustering is employed in many solutions to increase the availability and to achieve load balancing. Caching platform should work in a clustered environment spanning to multiple nodes thereby keeping the cached data coherent across nodes.

    Transparent access to non-cached tables reside in target database
    Database Cache should keep track of queries and should be able to intelligently route to the database cache or to the origin database based on the data locality without any application code modification.

    Transparent Fail over
    There should not be any service outages, incase of caching platform failure. Client connections should be routed to the target database.

    No or very minimal changes to application for the caching solution
    Support for standard interfaces JDBC, ODBC etc that will make the application to work seamlessly without any application code changes. It should route all stored procedure calls to target database so that they donít need to be migrated.

    More information can be found at csqldb.com
Working...
X