InfoQ

InfoQ

News

My Bookmarks

Login or Register to enable bookmarks for unlimited time.

The content has been bookmarked!

There was an error bookmarking this content! Please retry.

Ehcache 2.2 Supports Terabyte Cache and LDAP Authentication

Posted by Srini Penchikala on Aug 04, 2010

Sections
Enterprise Architecture,
Operations & Infrastructure,
Process & Practices,
Architecture & Design,
Development
Topics
Clustering & Caching ,
Announcements ,
Java
Tags
Ehcache ,
Terracotta

The latest version of open source caching framework Ehcache supports terabyte cache and Java Authentication and Authorization Service (JAAS) with LDAP integration. Terracotta development team announced last week the general availability of Ehcache 2.2 version as part of Terracotta 3.3 release. The new version also includes a management console that provides visibility and control of run-time caching environment, for developers and operators.

The caching feature uses a new storage strategy that supports caches with a large number of entries and nodes. This is an optional mode that can be configured per cache and enabled with a new XML attribute of the <terracotta> subtag called storageStrategy. LDAP based authentication is used for the access control to Developer and Operator management consoles. This security feature requires JDK 1.6 version and using an earlier version of Java will not prevent Terracotta servers from running but the security will not be enabled.

Other new features included in the latest version of Ehcache framework are:

  • Monitoring: This includes the management console for distributed caches with new control panels for Ehcache, Quartz Scheduler and Web Sessions, for application visibility and control. There is also a new consolidated view of cluster-wide events to allow the Operations team members to identify problem nodes in the cluster as well as diagnose errors and performance problems. The event monitoring is delivered via an Events Console (available in both Operator and Developer consoles as well as via a JMX API). Another operator console feature facilitates dynamic changes of cluster server topology by forcing a live Terracotta server configuration reload.
  • Multi-Data Center Support: There is a customizable support for cache replication between clusters in different geographic areas which allows for disaster recovery (DR) across the Wide Area Networks (WANs).
  • Common Runtime Library: This new run-time library reduces memory usage and network connections and provides new common developer constructs. It also exposes an API that developers can use for inter-process coordination tasks across multiple machines.
  • New Toolkit API: The client libraries have been refactored to use a common shared jar (called terracotta-toolkit-1.0-runtime-1.0.0.jar) for clustering the core use cases. This reduces number of L1-L2 socket connections and heap usage from applications that use multiple client types (such as Ehcache, Sessions etc) for caching purposes. It is also used for constructs that can be used within user applications that include concurrent maps, locks, counters, queues, an evictor etc.

Srini Penchikala currently works as Security Architect and has 17 yrs of experience in software product management.

No comments

Watch Thread Reply

Educational Content

Beauty Is in the Eye of the Beholder

Alex Papadimoulis discusses ugly code, where it comes from, how to avoid it, and how to get rid of it.

Architecting Visa for Massive Scale and Continuous Innovation

John Davies examines Visa’s architecture and shows how enterprises have architected complex integrations incorporating Hadoop, memcached, Ruby on Rails, and others to deliver innovative solutions.

Max Protect: Scalability and Caching at ESPN.com

Sean Comerford unveils ESPN.com’s architecture, what components are used and why, and the current changes the website goes through.

The Seven Deadly Sins of Enterprise Agile Adoption

Are there repeated patterns of failure on Enterprise Agile Enablement efforts? Sanjiv and Arlen discuss Seven Deadly Sins to avoid when adopting Agile in an enterprise.

Questions for an Enterprise Architect

Erik Dörnenburg answers: What is Enterprise and Evolutionary Architecture?, discussing 4 issues: Turning strategy into execution, Ensuring conformance, Where do the architects sit? Buying or building?

Wrap Your SQL Head Around Riak MapReduce

Sean Cribbs explains what Map-Reduce and Riak are, why and how to use Map-Reduce with Riak, and how to convert SQL queries into their Map-Reduce equivalents.

Polyglot Persistence for Java Developers - Moving Out of the Relational Comfort Zone

Chris Richardson shows how he ported a relational database to three NoSQL data stores: Redis, Cassandra and MongoDB.

The Golden Circle – Why How What

Jean Tabaka challenges the audience to reflect on what Agile practices they are employing, how they are using them, ending with the questions “Why have their organization chosen to go Agile?