java - A distributed data layer caching system that fulfills all these criteria? -
i need select distributed data layer caching system can fulfill these conditions.
must have
- caches should run in separate process , can called via tcp/udp. not willing run cache in same jvm memory space web application runs.
- caches should distributed across multiple cache servers eliminate single point of failure.
- serialization should transparent in majority of cases , shouldn't require developers implement methods or interfaces every single class cached.
- single api types of cache. developers should not need learn multiple apis read/write different object trees.
- eventually consistent. consistent expensive proposition, 1 requires n phase commits nodes in cluster. don't want such complex system.
- fault tolerant aka graceful degradation. if whole caching system goes down application can still run though performance understandably suffer under these circumstances.
- automatic cache eviction based on configurations lru , fifo etc.
- open source , free. having source code helps our experiences solr , active mq have proved. willing buy commercial support did solr software product must free.
- dynamic cluster membership. whole distributed cache cluster must not require restarts when node added or removed.
- high reliability. caching solution should reliable in face of server , network issues , can handle data consistency issues can arise server or network failures, write races, etc.
- highly performant. imagine cache ending being slower oracle!
- extra marks if cache server java based dev team comfortable in.
- high availability of cache data. means replicating cache data across multiple nodes such losing single node doesn't mean losing cached data on node. plan store java http session objects session failover well.
nice have
- web based console monitor , manage cache server nodes or @ least api through can create alerts , notifications.
apart web console, should able achieve professional strength caches available.
i start terracotta, ehcache or hazelcast.
here list of of best caches
Comments
Post a Comment