PDA

View Full Version : [RFC] CDC - Community Distributed Cache



pmalves
01-11-2012, 08:10 AM
Time to discuss a new member for the CTools:

CDC - Community Distributed Cache

Objective

CDC is a new plugin to allow usage of a distributed cache engine implemented using Hazelcast (http://www.hazelcast.com/) in two distinct scenarios:

1. Mondrian Cache
2. CDA Cache


Features



Regarding the Mondrian Cache, the plugin should allow toggling between Hazelcast and the default Mondrian cache. This is achieved by changing the properties file for mondrian
As for the CDA cache, the plugin should also allow changing from Hazelcast to the existing cache provider and vice versa.
Plugin should provide an easy to use way to install an Hazelcast node in a standalone machine, enabling it to join the cache cluster.


Besides the backend functionality, the plugin must have an user interface (can be a cde dashboard, for instance) that allows:

1.Toggling between cache providers both for Mondrian and for CDA

2. Checking cache status (Running or not running / How many elements are cached)

3. Change cache strategy and parameters

4. Graphically view cluster composition (how many hazelcast nodes and where they are) and related information (percentage memory used, number of cached elements in each node - we need to check what is exposed by Hazelcast)

5. Cache cleaning operation.

6. View cached information - Ability to see cached key/values and ability to search by key (again, check what Hazelcast provides for this kind of operations).


A way to clean individual cache blocks in Mondrian is also needed. By this we mean that we should be able to easily clean the cache entries related to a given cube or query. This should also be supported by a gui that enables drilling down on the cubes metadata.
This funcionality can either be developed as part of the Community Distributed Cache or as a standalone plugin.

---------

This is what we have in plan - Any comments, features, requests?https://blogger.googleusercontent.com/tracker/6644329693530300467-9098553546453680857?l=pedroalves-bi.blogspot.com


More... (http://pedroalves-bi.blogspot.com/2012/01/rfc-cdc-community-distributed-cache.html)